animal-id
generates easily recognizable ids for logs and such.
How to use
npm install animal-id
var animal = require('animal-id');
then:
// generate an adjective-animal pairanimal; // angry-buzzard// ...with a prefixanimal; // animal-angry-buzzard// ...with a UUID tacked on the endanimal; // angry-buzzard-198fb2de-8ec7-4cf2-be5c-2446628c9ef// ...or with a prefix and a UUID suffixanimal; // animal-angry-buzzard-198fb2de-8ec7-4cf2-be5c-2446628c9ef // or use your own adjectives/animals/separating stringsanimal;animal;animal; // use an underscore instead
Pretty blatantly uses the excellent node-uuid for uuid generation.