otp-gen-agent
Version:
A small and secure one time password (otp) generator for Javascript based on nanoid
55 lines (54 loc) • 1.22 kB
JSON
{
"name": "otp-gen-agent",
"version": "2.0.1",
"description": "A small and secure one time password (otp) generator for Javascript based on nanoid",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
}
},
"files": [
"dist"
],
"scripts": {
"build": "tsup",
"typecheck": "tsc --noEmit",
"test": "tsx --test test/otpgen.test.ts",
"prepublishOnly": "npm run build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/manisuec/otp-gen.git"
},
"keywords": [
"otp",
"nanoid",
"otp generator"
],
"author": "Manish Prasad",
"license": "MIT",
"bugs": {
"url": "https://github.com/manisuec/otp-gen/issues"
},
"homepage": "https://github.com/manisuec/otp-gen#readme",
"devDependencies": {
"@types/node": "^25.5.0",
"tsup": "^8.5.1",
"tsx": "^4.21.0",
"typescript": "^6.0.2"
},
"dependencies": {
"nanoid": "^5.1.7"
}
}