Generate simple unique id for node.js projects


Keywords
id, unique, generator
License
MIT
Install
npm install pickid@2.0.1

Documentation

pickid

Generate simple unique id for node.js projects.

const pickid = require("pickid");

const _id = pickid();

console.log(_id); // k73pl4wg9es

The id is based on the time machine + the process pid at runtime to ensure that it never genereates the same id twice.