mykad
Version:
Library to validate, parse, generate, and format Malaysian identity card (MyKad) numbers
37 lines (36 loc) • 1.16 kB
JSON
{
"name": "mykad",
"version": "2.0.2",
"description": "Library to validate, parse, generate, and format Malaysian identity card (MyKad) numbers",
"main": "./dist/index.js",
"scripts": {
"test": "npm run build && mocha",
"build": "npx babel src --presets @babel/preset-env --out-dir dist",
"prepublish": "npm run build",
"bundle": "npm run build && node ./node_modules/browserify/bin/cmd.js dist/index.js --standalone mykad -o browser/mykad.js && node ./node_modules/uglify-js/bin/uglifyjs --output browser/mykad.min.js --compress --mangle -- browser/mykad.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/wmthor/mykad.git"
},
"keywords": [
"mykad",
"malaysia",
"identity",
"card"
],
"author": "Wei-Ming Thor <twm_npm@outlook.com>",
"license": "ISC",
"bugs": {
"url": "https://github.com/wmthor/mykad/issues"
},
"homepage": "https://github.com/wmthor/mykad#readme",
"devDependencies": {
"@babel/cli": "^7.27.0",
"@babel/preset-env": "^7.26.9",
"browserify": "^17.0.1",
"chai": "^5.2.0",
"mocha": "^11.1.0",
"uglify-js": "^3.19.3"
}
}