1.0.2 • Published 4 years ago

random_digits v1.0.2

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

Randomr_

A unique random number generator of any digit

Installation

Run npm i random_digits

Use:

import randomr_ from 'random_digits'

randomr_(6) // ^ 6 digit random number

Parameters

The random number generator takes one argument which is the length of the number to be generated.

If you want to generate random 6 digit, then use 6 as an argument to call the function.

The default number of digit is 10