UNPKG

mykad

Version:

Library to validate, parse, generate, and format Malaysian identity card (MyKad) numbers

37 lines (36 loc) 1.16 kB
{ "name": "mykad", "version": "2.0.3", "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.28.6", "@babel/preset-env": "^7.29.2", "browserify": "^17.0.1", "chai": "^6.2.2", "mocha": "^11.7.5", "uglify-js": "^3.19.3" } }