UNPKG

memorable-ids

Version:

A flexible library for generating human-readable, memorable identifiers

289 lines (287 loc) 3.56 kB
/** * Dictionary of words for memorable ID generation * * Contains collections of English words categorized by part of speech. * Used to generate human-readable, memorable identifiers. * * @author Aris Ripandi * @license MIT */ const adjectives = [ "cute", "dapper", "large", "small", "long", "short", "thick", "narrow", "deep", "flat", "whole", "low", "high", "near", "far", "fast", "quick", "slow", "early", "late", "bright", "dark", "cloudy", "warm", "cool", "cold", "windy", "noisy", "loud", "quiet", "dry", "clear", "hard", "soft", "heavy", "light", "strong", "weak", "tidy", "clean", "dirty", "empty", "full", "close", "thirsty", "hungry", "fat", "old", "fresh", "dead", "healthy", "sweet", "sour", "bitter", "salty", "good", "bad", "great", "important", "useful", "expensive", "cheap", "free", "difficult", "able", "rich", "afraid", "brave", "fine", "sad", "proud", "comfortable", "happy", "clever", "interesting", "famous", "exciting", "funny", "kind", "polite", "fair", "busy", "lazy", "lucky", "careful", "safe", "dangerous" ]; const nouns = [ "rabbit", "badger", "fox", "chicken", "bat", "deer", "snake", "hare", "hedgehog", "platypus", "mole", "mouse", "otter", "rat", "squirrel", "stoat", "weasel", "crow", "dove", "duck", "goose", "hawk", "heron", "kingfisher", "owl", "peacock", "pheasant", "pigeon", "robin", "rook", "sparrow", "starling", "swan", "ant", "bee", "butterfly", "dragonfly", "fly", "moth", "spider", "pike", "salmon", "trout", "frog", "newt", "toad", "crab", "lobster", "clam", "cockle", "mussel", "oyster", "snail", "cow", "dog", "donkey", "goat", "horse", "pig", "sheep", "ferret", "gerbil", "guinea-pig", "parrot", "book", "table", "chair", "lamp", "phone", "computer", "window", "door" ]; const verbs = [ "sing", "play", "knit", "flounder", "dance", "listen", "run", "talk", "cuddle", "sit", "kiss", "hug", "whimper", "hide", "fight", "whisper", "cry", "snuggle", "walk", "drive", "loiter", "feel", "jump", "hop", "go", "marry", "engage", "sleep", "eat", "drink", "read", "write", "swim", "fly", "climb", "build", "create", "explore", "discover", "learn" ]; const adverbs = [ "jovially", "merrily", "cordially", "carefully", "correctly", "eagerly", "easily", "fast", "loudly", "patiently", "quickly", "quietly", "slowly", "gently", "firmly", "softly", "boldly", "bravely", "calmly", "clearly", "closely", "deeply", "directly", "exactly", "fairly", "freely", "fully" ]; const prepositions = [ "in", "on", "at", "by", "for", "with", "from", "to", "of", "about", "under", "over", "through", "between", "among", "during", "before", "after", "above", "below", "beside", "behind", "beyond", "within", "without", "across" ]; const dictionaryStats = { adjectives: adjectives.length, nouns: nouns.length, verbs: verbs.length, adverbs: adverbs.length, prepositions: prepositions.length }; const dictionary = { adjectives, nouns, verbs, adverbs, prepositions, stats: dictionaryStats }; export { adjectives, adverbs, dictionary as default, dictionary, dictionaryStats, nouns, prepositions, verbs };