1.0.4 • Published 4 years ago

createrandomkey v1.0.4

Weekly downloads
-
License
ISC
Repository
github
Last release
4 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

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago