south-african-id-validator
Version:
Validate South African ID numbers and extract date of birth, gender, and citizenship. TypeScript-native, zero dependencies, runs anywhere.
78 lines • 2.03 kB
JSON
{
"name": "south-african-id-validator",
"version": "2.0.0",
"description": "Validate South African ID numbers and extract date of birth, gender, and citizenship. TypeScript-native, zero dependencies, runs anywhere.",
"keywords": [
"id",
"id-number",
"luhn",
"south-africa",
"south-african",
"typescript",
"validation",
"validator"
],
"homepage": "https://github.com/dale-french/south-african-id-validator#readme",
"bugs": {
"url": "https://github.com/dale-french/south-african-id-validator/issues"
},
"license": "MIT",
"author": "Dale French (https://github.com/dale-french)",
"repository": {
"type": "git",
"url": "git+https://github.com/dale-french/south-african-id-validator.git"
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"type": "module",
"sideEffects": false,
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.mts",
"exports": {
".": {
"import": {
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
}
},
"devDependencies": {
"@changesets/changelog-github": "^0.5.0",
"@changesets/cli": "^2.27.0",
"@vitest/coverage-v8": "^2.1.0",
"oxfmt": "^0.51.0",
"oxlint": "^0.15.0",
"simple-git-hooks": "^2.11.0",
"tsdown": "^0.22.0",
"typedoc": "^0.27.0",
"typescript": "^5.7.0",
"vitest": "^2.1.0"
},
"simple-git-hooks": {
"pre-commit": "pnpm lint && pnpm format:check && pnpm typecheck"
},
"engines": {
"node": ">=20"
},
"scripts": {
"build": "tsdown",
"typecheck": "tsc --noEmit",
"lint": "oxlint",
"format": "oxfmt",
"format:check": "oxfmt --check",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"docs": "typedoc",
"changeset": "changeset",
"release": "pnpm build && changeset publish"
}
}