t-pass
v1.0.0
Published
The Turbo Password Generator API — simple, secure, strong passwords instantly.
Maintainers
Readme
::: container
TPass API Documentation
Welcome to TPass, the Turbo Password Generator API --- simple, secure, strong passwords instantly. This library allows you to easily generate cryptographically strong random passwords inside any Node.js project.
::: disclaimer
Disclaimer
TPass is an experimental tool intended for educational and non-critical applications. For more secure and robust password generation, it is recommended to use vetted cryptographic libraries and follow best security practices. :::
Installation
npm install t-passUsage
Basic usage
const tpass = require('t-pass');
// Default 16-character password
console.log(tpass.generate());With custom length
const tpass = require('t-pass');
console.log(tpass.generate({ length: 32 }));Without symbols (letters & numbers only)
const tpass = require('t-pass');
console.log(tpass.generate({ nosymbols: true }));Options
- length (optional): Password length (default
16). - nosymbols (optional): Exclude special symbols (default
false).
Return Value
The function returns a randomly generated string with the requested properties.
Example Output
A7gKx!zqP4mWb2QsFeatures
- 🔒 Fully random password generation
- 🚀 Lightweight --- zero dependencies
- ⚙️ Configurable length & symbols
- 🧪 Built for developers
License
MIT --- © TurboChat Team (Jaewon Lee) :::
