This is a
playground to test code. It runs a full
Node.js environment and already has all of
npm’s 1,000,000+ packages pre-installed, including
gud with all
npm packages installed. Try it out:
This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.
Create a 'gud nuff' (not cryptographically secure) globally unique id
yarn add gud
const gud = require('gud'); console.log(gud()); // 1 console.log(gud()); // 2
This is ever so slightly better than using something like
it will work across multiple copies of the same module.
Do not use this in place of actual UUIDs, security folks will hate me.
This will not be unique across processes/workers.