UNPKG

gen-totp

Version:

A time-based One-time Password generator that uses current time as a source of uniqueness, following RFC 6238.

75 lines (74 loc) 2.36 kB
{ "name": "gen-totp", "version": "2.0.7", "description": "A time-based One-time Password generator that uses current time as a source of uniqueness, following RFC 6238.", "main": "dist/index.js", "types": "dist/index.d.ts", "scripts": { "depcheck": "npm-check", "test": "mocha -r ts-node/register tests/**/*.spec.ts", "build": "tsc", "lint": "eslint **/*.ts", "lint:fix": "eslint **/*.ts --fix", "docs:serve": "docsify serve ./docs", "coverage": "nyc --reporter=html --reporter=text npm run test", "git-workflow": "npm run lint", "commit": "git-cz", "prepare": "husky install", "release": "standard-version" }, "author": "Milad E. Fahmy <miladezzat.f@gmail.com>", "contributors": [ { "name": "Milad E. Fahmy <miladezzat>", "email": "milad@sakneen.com" } ], "dependencies": { "jssha": "^3.3.1" }, "devDependencies": { "@types/chai": "^4.2.21", "@types/chai-sorted": "^0.2.3", "@types/chai-subset": "^1.3.5", "@types/mocha": "^10.0.7", "@typescript-eslint/eslint-plugin": "^8.6.0", "@typescript-eslint/parser": "^8.6.0", "chai": "^4.3.4", "chai-sorted": "^0.2.0", "chai-subset": "^1.6.0", "cross-env": "^7.0.3", "docsify-cli": "^4.4.3", "eslint": "^8.57.1", "eslint-config-airbnb-base": "^15.0.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.30.0", "eslint-plugin-prettier": "^5.2.1", "git-cz": "^4.8.0", "husky": "^9.1.6", "mocha": "^10.0.0", "npm-check": "^6.0.1", "nyc": "^17.0.0", "prettier": "^3.3.3", "ts-node": "^10.1.0", "tsconfig-paths": "^4.2.0", "standard-version": "^9.5.0", "typescript": "^4.3.5", "@types/node": "^20.14.11" }, "license": "ISC", "repository": { "type": "git", "url": "git+https://github.com/miladezzat/gen-totp.git" }, "keywords": [ "otp", "generate-otp", "totp", "mobile-verification" ], "bugs": { "url": "https://github.com/miladezzat/gen-totp/issues" }, "homepage": "https://github.com/miladezzat/gen-totp" }