npm package
Homeotplib
otplib is a TypeScript-first library for generating and verifying TOTP and HOTP tokens, suitable for implementing two-factor authentication in applications. It supports multiple runtimes and offers a plugin system for customization, making it versatile for various environments. The library is designed to work out of the box with sensible defaults and is compliant with relevant RFC standards.
- lurq health score
- 86/100
- Confidence
- proven
- Weekly downloads
- 3,236,311
- Latest version
- 13.5.0
- Last release
- Aug 21, 2026
- License
- MIT
Should you depend on otplib?
lurq's verdict: low
- No known advisories
Check this from your coding agent
This page is a daily snapshot. lurq's verify tool checks otplib at the exact version your agent is about to install, and compat checks it against the rest of your stack. One command connects Claude Code, Cursor, VS Code and other agents:
npx lurqrun
Free to start. Quickstart
Other testing packages lurq scores
- fast-check94/100 · proven
- marked93/100 · proven
- @nestjs/testing93/100 · proven
- @middy/util93/100 · proven
- mocha91/100 · proven
Scored from public signals (npm registry, GitHub, deps.dev and advisory databases). Data as of Sep 9, 2026; this page refreshes every 24 hours. Source repository.