r4nd0mstr1ng
v2.0.1
Published
r4nd0mstr1ng: 🌀 Random String Generator
Downloads
11
Maintainers
Readme
r4nd0mstr1ng
🌀Random String Generator
Install
$ npm install r4nd0mstr1ng
Usage
const rand = require('r4nd0mstr1ng');
console.log(rand());
//=> 'HH9ICHiBSjKnK219w3R6eKgI58ffMW'
console.log(rand(7));
//=> 'dsdfGf4'
API
rand()
Return Type: string
Default: 30
Return an string with default value of 30
rand(number)
Return Type: string
Return an string with custom length
Related
- random-string-cli: CLI for this module
- all-words: Generate all available words (up to four letters) super fast.
- randn: 🔢 Random number generator.
License
MIT © Carlos Abraham