n-digit-token
Version:
Cryptographically secure pseudo-random token of n digits
75 lines (74 loc) • 1.84 kB
JSON
{
"name": "n-digit-token",
"version": "2.2.4",
"description": "Cryptographically secure pseudo-random token of n digits",
"keywords": [
"token",
"cryptographically-strong",
"cryptographically-secure",
"token-generator",
"2fa",
"auth-token",
"crypto",
"cryptography",
"random",
"CSPRNG",
"secure-random",
"RNG",
"PRNG"
],
"homepage": "https://n-digit-token.almasi.dev",
"repository": {
"type": "git",
"url": "https://github.com/almasen/n-digit-token"
},
"funding": "https://github.com/sponsors/almasen",
"author": {
"name": "Daniel Almasi",
"email": "almd@pm.me",
"url": "https://github.com/almasen"
},
"license": "MIT",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"files": [
"lib/**/*"
],
"scripts": {
"build": "tsc",
"test": "jest",
"lint": "tslint -p tsconfig.json --fix",
"format": "prettier --write \"src/**/*.ts\""
},
"dependencies": {},
"devDependencies": {
"@types/jest": "^29.5.4",
"@types/node": "^14.14.31",
"crypto-browserify": "^3.12.0",
"jest": "^29.7.0",
"prettier": "^1.13.2",
"ts-jest": "^29.1.1",
"tslint": "^6.1.3",
"tslint-config-prettier": "^1.13.0",
"typescript": "^4.9.5"
},
"jest": {
"transform": {
"^.+\\.(t|j)sx?$": "ts-jest"
},
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
],
"collectCoverage": true,
"coverageReporters": [
"json",
"html",
"json-summary"
]
}
}