readableId generates memorable, human-readable strings combining positive adjectives, colors, and nouns (e.g. happy-blue-tiger-42). It is ideal for auto-naming workspace containers, anonymous user avatars, and temporary file sharing links.
Usage
js
import { readableId } from '@readytools/id';
// Default: hyphen delimiter with numeric suffix (0-99)
const name1 = readableId();
// Returns: "brave-purple-falcon-73"
// Custom delimiter
const name2 = readableId('_');
// Returns: "gentle_teal_star_18"
// Without numeric suffix
const name3 = readableId('-', false);
// Returns: "swift-gold-eagle"⚡ Live Playground
readableId()
Generating...
📏 Calculating...✨ Web Crypto Native