@sergiomorenoalbert/fastify-totp
Version:
A plugin to handle TOTP (e.g. for 2FA)
62 lines • 1.34 kB
JSON
{
"name": "@sergiomorenoalbert/fastify-totp",
"version": "2.0.6",
"description": "A plugin to handle TOTP (e.g. for 2FA)",
"private": false,
"files": [
"dist",
"src/index.ts",
"src/index.d.ts"
],
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/es/totp.mjs"
},
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/cjs/totp.js"
}
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/semoal/fastify-totp.git"
},
"contributors": [
"Beliven",
"Sergio Moreno <sergiomorenoalbert@gmail.com>"
],
"keywords": [
"fastify",
"plugin",
"totp",
"2fa",
"speakeasy",
"auth"
],
"author": "Beliven",
"license": "MIT",
"bugs": {
"url": "https://github.com/semoal/fastify-totp/issues"
},
"homepage": "https://github.com/semoal/fastify-totp#readme",
"dependencies": {
"@levminer/speakeasy": "^1.4.2",
"fastify-plugin": "^5.0.1",
"qrcode": "^1.5.4"
},
"devDependencies": {
"@types/qrcode": "^1.5.5",
"bunchee": "^6.0.0",
"fastify": "^5.1.0",
"tap": "^21.0.1",
"typescript": "^5.7.2"
},
"scripts": {
"build": "bunchee",
"test": "tap run;echo 'Tests passed!'"
}
}