1.0.4 • Published 3 years ago
createrandomkey v1.0.4
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];