0.2.0 • Published 6 years ago

cirnornd v0.2.0

Weekly downloads
-
License
ISC
Repository
-
Last release
6 years ago

Cirnornd.js

This nodejs module makes getting random integers/strings way easier!

Installation

npm install cirnornd

Docs

.randomInt(min, max)

returns a random integer inbetween min and max (both inclusive)

.randomString(lenght, symbols = false, numbers = true, upperCase = true, lowerCase = true)

returns a random string of a defined lenghth, it can include symbols, numbers, uppercase letters and lowercase letter, by default all of them are included excluding symbols.

Example of usage:

const cirno = require('cirnornd');

console.log(`Random string: ${cirno.randomString(20, true)}\nRandom Number: ${cirno.randomInt(0, 100)}`);

Check my Patreon!

npm.io

0.2.0

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago

0.0.1

6 years ago