Random ShortID generator ()
Genrates a utra random shortID of custom lenght and charecters.
Installation
Install randshortId with npm
npm instal randshortid
Usage
Install randshortId with npm
const shortId = require("randshortId");
let randomID = shortId() //Generates a random 6 charecter long shortId
Optionals
Generate ShortID of custom length
let customLength = 10;
let randomID = shortId(customLength);
Generate ShortID of custom charecters
let customLength = 10;
let charecters = "abcdefghijklmnopqrstuwxyz0123456789";
let randomID = shortId(customLength,charecters);