Makes generating one-way randomized-but-readable identifiers easy.
npm i named-ids
// ES6
import { getNamedId, getNameIdParts } from 'named-ids';
// Node
const { getNamedId, getNameIdParts } = require('named-ids');
getNamedId();
// "fishy otters"
getNamedId();
// "twitchy pigs"
getNamedId("ABC");
// "rowdy rhinos"
getNamedId("ABC");
// "rowdy rhinos"
getNamedId("XYZ");
// "fat turtles"
getNamedId("XYZ");
// "fat turtles"