time2fa
A comprehensive Node.js package that simplifies the implementation of One-Time Password (OTP).
File Explorer
Download Latest Version (.zip)- build.yml
- publish.yml
- logo.png
- hmac-based.ts
- index.ts
- generate-key.ts
- time-based.ts
- constants.ts
- encode.ts
- validation-error.ts
- index.ts
- otp.test.ts
- .gitignore
- .npmrc
- build.config.ts
- eslint.config.mjs
- LICENSE
- package-lock.json
- package.json
- README.md
- renovate.json
- tsconfig.json
# Installation Guide
1. Get the code
git clone https://github.com/PlanetHoster/time2fa
Downloads the entire project code from GitHub to your computer.
cd time2fa
Moves into the project folder you just downloaded.
2. Node.js
Easy RecommendedPrerequisites
npm i --save time2fa
Type this command into your terminal and run it.
npm run test
Type this command into your terminal and run it.
After running the command, open the address shown in the terminal (usually something like http://localhost:3000) in your browser.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
