random ID generator
Installation
// install with npm
npm install @dmitryskok/randomid-generator
// install with yarn
yarn add @dmitryskok/randomid-generator
Usage
const import randomID from '@dmitryskok/randomid-generator';
console.log(randomID(5));
where 5
is the number of random characters
Features
- Very fast
- Generates a random ID from the characters "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"
- You can specify the length of the generated ID