This is geneartor ID. With this package you build new unique ID.
How to use it?
-
Dowland a package: yarn add @agath-e/randomid-generator
-
Create in main file e.g:
const randomID = require('@agath-e/randomid-generator');
console.log(randomID(10));
Number 10 is how long will be you new userID.
- In terminal you have to write:
node your-main-file.