uuid-readable
Generate Easy to Remember, Readable UUIDs, that are Shakespearean gramatically correct sentences 🥳
- Built on UUID v4
- Supports any UUID version (v1, v3, v4, v5, v6)
- Optionally pass your UUID to generate a unique sentence
- 128 Bit Crypto Secure
- Gramatically correct sentences
- Easy to remember
- Has a Shakespeare feeling
- Universally Unique Identifier
Example
Loren Chariot Addy the Titbit of Cholame questioned Cele Garth Alda and 16 windy frogs
Drucill Hubert Lewse the Comer of Avera rejoices Fiann Craggy Florie and 5 hard trouts
Jacquette Brandtr Johm the Pectus of Barnsdall doubted Glenn Gay Gregg and 12 noisy stoats
Installation
npm install uuid-readable --save
Usage
const id = require('uuid-readable')
console.log( id() )
// Cathleen d Dieball the Monolith of Alderson reflects Arly Arnie Keenan and 18 large ants
Pass your own UUID
console.log( id(uuid) )
MongoDB
const id = require('uuid-readable')
readable_id: {
'type': String,
'default': id
}
// or use as real id
_id: {
'type': String,
'default': id
}