Human-centric unique identifers for use in place of numeric record locators, account IDs and so on.
Install Word Salad module from NPM:
npm install word-salad --save
Output a random identifier:
mkWordSalad
That will return something like "jet typist" or "indefinable sugarloaf".
To do that programmatically:
console.log(require('word-salad').mkID());
const wordSalad = require('word-salad');
const person = {id:101, name:'Sue'}
person.id = wordSalad.fromInt(person.id);
const wordSalad = require('word-salad');
const person = {id:'inimical pizzicato', name:'Sue'}
person.id = wordSalad.toInt(person.id);
const wordSalad = require('word-salad');
for(let i = 0; i < 100; ++i) {
console.log(wordSalad.nextID());
}