randn
: 🔢 Random Number Generator
- Clean and focused
- CLI included
- Actively maintained
- Fast and reliable
- Easy to get numbers
$ npm install randn
const randn = require('randn');
console.log(randn());
//=> 315764787997033782716506419531
console.log(randn(5));
//=> 86773
rand()
Return a number with default value of 30
Return Type: string
rand(number)
Return an string with custom number
Return Type: string
Examples
$ randn
315764787997033782716506419531
$ randn --number 5
86773
$ randn -n 23
46379458263283978267360
Options
-n, --number Generate a number with certain length
- all-words: Generate all available words (up to four letters) super fast.
- r4nd0mstr1ng: 🌀 Random string generator.
Carlos Abraham |
MIT License © Carlos Abraham