passport-magic-code
Version:
A passwordless passport strategy to send a magic code (One time password) to let the user authenticate themselves.
57 lines (56 loc) • 1.32 kB
JSON
{
"name": "passport-magic-code",
"version": "2.0.6",
"description": "A passwordless passport strategy to send a magic code (One time password) to let the user authenticate themselves.",
"keywords": [
"Passport",
"Authentication",
"otp",
"OneTimePassword",
"PassportStrategy",
"LoginStrategy",
"MagicLogin",
"MagicCode"
],
"main": "dist/index.js",
"scripts": {
"build": "tsup",
"watch": "tsup -w",
"test": "jest",
"prepublish": "yarn build"
},
"files": [
"./dist/"
],
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"types": "./dist/index.d.ts",
"author": "Benjamin Lindberg <95551073+BenjaminLindberg@users.noreply.github.com>",
"license": "MIT",
"private": false,
"devDependencies": {
"@types/express": "^5.0.3",
"@types/jest": "^30.0.0",
"@types/jsonwebtoken": "^9.0.6",
"@types/node": "^24.1.0",
"@types/passport-strategy": "^0.2.38",
"jest": "^30.0.5",
"ts-jest": "^29.2.2",
"ts-node": "^10.9.2",
"tsup": "^8.5.0",
"typescript": "^5.5.3",
"zod": "^4.0.0"
},
"dependencies": {
"jsonwebtoken": "^9.0.2",
"passport-strategy": "^1.0.0"
},
"peerDependencies": {
"zod": "^4.0.0"
}
}