memorable-ids
Version:
A flexible library for generating human-readable, memorable identifiers
64 lines (62 loc) • 1.77 kB
TypeScript
/**
* 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
*/
/**
* English adjectives (78 total)
* Descriptive words that modify nouns
*/
declare const adjectives: readonly string[];
/**
* English nouns - animals and common objects (68 total)
* Concrete things, animals, and objects
*/
declare const nouns: readonly string[];
/**
* English verbs - present tense (40 total)
* Action words in present tense form
*/
declare const verbs: readonly string[];
/**
* English adverbs (27 total)
* Words that modify verbs, adjectives, or other adverbs
*/
declare const adverbs: readonly string[];
/**
* English prepositions (26 total)
* Words that show relationships between other words
*/
declare const prepositions: readonly string[];
/**
* Dictionary statistics for combination calculations
*/
declare const dictionaryStats: {
readonly adjectives: number;
readonly nouns: number;
readonly verbs: number;
readonly adverbs: number;
readonly prepositions: number;
};
/**
* All word collections grouped by type
*/
declare const dictionary: {
readonly adjectives: readonly string[];
readonly nouns: readonly string[];
readonly verbs: readonly string[];
readonly adverbs: readonly string[];
readonly prepositions: readonly string[];
readonly stats: {
readonly adjectives: number;
readonly nouns: number;
readonly verbs: number;
readonly adverbs: number;
readonly prepositions: number;
};
};
export { adjectives, adverbs, dictionary as default, dictionary, dictionaryStats, nouns, prepositions, verbs };