1.0.4 • Published 3 years ago

createrandomkey v1.0.4

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

create-random-key

create random key for your app.

Installation

npm i createrandomkey

Usage

const createRandomKey = require('createrandomkey');

// With max value
const key = createRandomKey({ max: 100 });
// return -> 96 / 37 / 80

// Without max value (default value 10)
const key = createRandomKey();
// return -> 10 / 3 / 7

const Data = [...aLotOfData];
Data[key];
1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago