Lightweight utility for generating unique process and random IDs in Node.js
npm install puppyidnpm install puppyid
js
import { id, createId } from 'puppyid';
console.log(Generated ID for this process: ${id});
console.log(Some random other ID: ${createId()});
``