@kherma/randomid-generator
v1.0.3
Published
- Generate ids with specific length - Include characters A-Z, a-z, 0-1
Readme
Random ID generator
- Generate ids with specific length
- Include characters A-Z, a-z, 0-1
Install
npm i @kherma/randomid-generator
yarn add @kherma/randomid-generatorUsage
import randomID from '@kherma/randomid-generator';
const id1 = randomID(10);
// Example output: e1hmz7rVjF
const id2 = randomID(5);
// Example output: o39To