UNPKG

xotp

Version:

One-Time Password (HOTP/TOTP) library for Node.js, Deno and Bun, with support for Google Authenticator.

57 lines (56 loc) 1.44 kB
{ "name": "xotp", "description": "One-Time Password (HOTP/TOTP) library for Node.js, Deno and Bun, with support for Google Authenticator.", "author": "Farshid Beheshti", "version": "1.0.15", "type": "commonjs", "main": "./dist/index.js", "types": "./dist/index.d.ts", "files": [ "dist/", "LICENSE", "README.md" ], "scripts": { "prebuild":"npm run clean", "build": "tsc && rollup -c", "prepare": "npm run build", "clean": "rimraf ./dist", "test:coverage": "rimraf ./coverage & jest --coverage", "test": "jest" }, "repository": { "type": "git", "url": "git+https://github.com/farshidbeheshti/xotp.git" }, "bugs": "https://github.com/farshidbeheshti/xotp/issues", "homepage": "https://xotp.dev", "license": "MIT", "keywords": [ "otp", "totp", "hotp", "two-factor authentication", "otp generator", "2fa", "one-time password", "google-authenticator", "authenticator", "multi-factor authentication", "two-step authentication", "time-based one-time password" ], "devDependencies": { "@rollup/plugin-commonjs": "^28.0.2", "@rollup/plugin-node-resolve": "^16.0.0", "@types/jest": "^29.5.13", "@types/node": "^22.7.6", "jest": "^29.7.0", "prettier": "^3.3.3", "rimraf": "^6.0.1", "rollup": "^4.34.0", "ts-jest": "^29.2.5", "ts-node": "^10.9.2", "typescript": "^5.6.3" } }