2.0.1 • Published 5 years ago
pickid v2.0.1
pickid
Simple unique string ID generator for Node.js projects
You can pass two optional arguments to the pickid
function. The first one is a array of ascii characters to be used to generate the ID and the ID size.
Default alphabet is AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz0123456789
and default size is 16.
const pickid = require("pickid");
const _id = pickid();
console.log(_id); // zNvIFoxyA5P5Lnr9