UNPKG

@jvddavid/authenticator

Version:

Biblioteca para geração e verificação de códigos TOTP (Google Authenticator, Microsoft Authenticator, etc.) em Node.js.

68 lines (67 loc) 1.65 kB
{ "name": "@jvddavid/authenticator", "version": "1.0.0", "license": "MIT", "description": "", "keywords": [ "authentication", "auth", "notp", "otp", "2fa", "two-factor", "two-factor-authentication", "2fa-authentication", "2fa-authenticator", "two-factor-authenticator" ], "type": "module", "main": "./dist/index.cjs", "module": "./dist/index.mjs", "types": "./dist/index.d.cts", "exports": { "require": { "types": "./dist/index.d.cts", "default": "./dist/index.cjs" }, "import": { "types": "./dist/index.d.mts", "default": "./dist/index.mjs" } }, "files": [ "dist", "README.md", "package.json", "tsconfig.json" ], "devDependencies": { "@eslint/js": "^9.31.0", "@stylistic/eslint-plugin": "^5.2.0", "@types/node": "^24.0.15", "eslint": "^9.31.0", "globals": "^16.3.0", "pkgroll": "^2.14.3", "tsx": "^4.20.3", "typescript": "^5.8.3", "typescript-eslint": "^8.37.0", "vite-tsconfig-paths": "^5.1.4", "vitest": "^3.2.4" }, "scripts": { "prepublishOnly": "npm run type:check && npm run lint && npm run build && npm run test", "start": "node dist/index.mjs", "type:check": "tsc --noEmit", "build": "npm run type:check && pkgroll --clean-dist --minify --target=es2023 --target=node22", "lint": "eslint src tests", "lint:fix": "eslint --fix src tests", "dev": "tsx --watch src/index.ts", "test": "vitest run", "test:watch": "vitest" }, "packageManager": "pnpm@10.13.1", "dependencies": { "@types/notp": "^2.0.5", "notp": "^2.0.3" } }