Package Exports
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@allindevelopers/otpcli) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
otpcli
A simple command-line tool for generating Time-based One-Time Password (TOTP) codes.
Overview
otpcli is a Node.js command-line utility that generates TOTP codes based on a provided secret key. It uses the otplib library for generating secure, standards-compliant one-time passwords.
Installation
npm install -g @allindevelopers/otpcliUsage
Generate a TOTP code by providing your secret key after running otpcli:
otpcliThe tool will output the current 6-digit TOTP code for the provided secret.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Acknowledgements
- otplib - The library used for TOTP generation