cdigit
Version:
Collection of check digit algorithms implemented in JavaScript
85 lines (84 loc) • 1.74 kB
JSON
{
"name": "cdigit",
"version": "4.0.3",
"description": "Collection of check digit algorithms implemented in JavaScript",
"type": "module",
"main": "lib/index.js",
"types": "./lib/index.d.ts",
"exports": "./lib/index.js",
"sideEffects": false,
"bin": {
"cdigit": "bin/cli.js"
},
"files": [
"LICENSE-APACHE",
"LICENSE-MIT",
"example.js",
"lib"
],
"scripts": {
"build": "tsc",
"doc": "typedoc ./src/index.ts --gitRevision \"v$npm_package_version\"",
"prebuild": "rm -rf ./lib",
"predoc": "rm -rf ./docs",
"prepare": "npm run build && npm run doc && npm run test",
"test": "mocha"
},
"repository": {
"type": "git",
"url": "git+https://github.com/LiosK/cdigit.git"
},
"keywords": [
"checkdigit",
"check digit algorithm",
"check character system",
"luhn",
"mod 10",
"verhoeff",
"damm",
"iso7064",
"iso/iec 7064",
"mod 11-2",
"mod 37-2",
"mod 97-10",
"mod 97",
"mod 661-26",
"mod 1271-36",
"mod 11,10",
"mod 27,26",
"mod 37,36",
"gtin",
"gtin-8",
"gtin-12",
"gtin-13",
"gtin-14",
"gs1",
"upc",
"upc-a",
"ean",
"ean-8",
"ean-13",
"jan",
"isbn-13"
],
"author": "LiosK <contact@mail.liosk.net>",
"license": "(MIT OR Apache-2.0)",
"bugs": {
"url": "https://github.com/LiosK/cdigit/issues"
},
"homepage": "https://github.com/LiosK/cdigit#readme",
"directories": {
"bin": "bin",
"lib": "lib",
"test": "test"
},
"runkitExampleFilename": "example.js",
"dependencies": {
"commander": "^14.0.2"
},
"devDependencies": {
"mocha": "^11.7.5",
"typedoc": "^0.28.14",
"typescript": "^5.9.3"
}
}