UNPKG

cdigit

Version:

Collection of check digit algorithms implemented in JavaScript

82 lines (81 loc) 1.76 kB
{ "name": "cdigit", "version": "2.6.6", "description": "Collection of check digit algorithms implemented in JavaScript", "main": "lib/index.js", "types": "lib/index.d.ts", "bin": { "cdigit": "bin/cli.js" }, "scripts": { "build": "rm -rf lib && tsc", "lint": "eslint example.js bin src test", "prelint": "prettier -c README.md example.js bin src test", "prepare": "npm run lint && npm run build && npm 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" }, "tonicExampleFilename": "example.js", "dependencies": { "commander": "^7.1.0" }, "devDependencies": { "@typescript-eslint/eslint-plugin": "^4.17.0", "@typescript-eslint/parser": "^4.17.0", "eslint": "^7.21.0", "mocha": "^8.3.1", "prettier": "^2.2.1", "tsutils": "^3.21.0", "typescript": "^4.2.3" }, "prettier": { "embeddedLanguageFormatting": "off" } }