1.0.1 • Published 3 years ago

@aga-de/randomid-generator v1.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

@aga-de/randomid-generator

Allows you to generate random, any length you want ID consist of numbers and letters.

installation

 yarn add # @aga-de/randomid-generator 
 npm install # @aga-de/randomid-generator 

usage

Create JavaScript file and type:

const randomID = require('@aga-de/randomid-generator');

console.log(randomID(10));    #should output 10-charactered random ID

Instead of 10, you can type number of characters you want to be your ID length. Then run the following command in the console:

node (your-file-name.js)

Outputs random ID.