codenames
Version:
Converts numerical values into human-readable names following a specific theme (e.g., cities)
24 lines • 2.5 kB
TypeScript
/**
* Auto-generated from adjectives.txt. Do not edit manually.
* Run 'bun run scripts/generate.ts adjectives Adjective' to regenerate.
*
* SPDX-FileCopyrightText: 2025-present Kriasoft
* SPDX-License-Identifier: MIT
*/
export declare const adjectives: readonly ["good", "bad", "big", "small", "new", "old", "hot", "cold", "fast", "slow", "long", "short", "high", "low", "hard", "soft", "dark", "light", "strong", "weak", "happy", "sad", "full", "empty", "rich", "poor", "young", "old", "true", "false", "right", "wrong", "clean", "dirty", "wet", "dry", "safe", "deep", "wide", "easy", "nice", "real", "free", "best", "warm", "cool", "loud", "quiet", "sick", "dead", "late", "early", "thick", "thin", "smart", "dumb", "sweet", "sour", "heavy", "flat", "round", "sharp", "dull", "rough", "smooth", "brave", "scared", "bright", "dim", "clear", "fuzzy", "fresh", "stale", "plain", "fancy", "simple", "busy", "lazy", "wild", "tame", "angry", "calm", "cruel", "kind", "pretty", "ugly", "useful", "useless", "normal", "weird", "modern", "ancient", "famous", "unknown", "perfect", "flawed", "rare", "common", "narrow", "broad"];
export type Adjective = (typeof adjectives)[number];
/**
* Converts a number to a Adjective codename
*
* @param input - The number to convert
* @returns An Adjective name
*
* @example
* ```typescript
* import codename from "codenames/adjectives-100";
* codename(1234) // "fuzzy"
* ```
*/
export declare const codename: (input: number) => "flat" | "good" | "bad" | "big" | "small" | "new" | "old" | "hot" | "cold" | "fast" | "slow" | "long" | "short" | "high" | "low" | "hard" | "soft" | "dark" | "light" | "strong" | "weak" | "happy" | "sad" | "full" | "empty" | "rich" | "poor" | "young" | "true" | "false" | "right" | "wrong" | "clean" | "dirty" | "wet" | "dry" | "safe" | "deep" | "wide" | "easy" | "nice" | "real" | "free" | "best" | "warm" | "cool" | "loud" | "quiet" | "sick" | "dead" | "late" | "early" | "thick" | "thin" | "smart" | "dumb" | "sweet" | "sour" | "heavy" | "round" | "sharp" | "dull" | "rough" | "smooth" | "brave" | "scared" | "bright" | "dim" | "clear" | "fuzzy" | "fresh" | "stale" | "plain" | "fancy" | "simple" | "busy" | "lazy" | "wild" | "tame" | "angry" | "calm" | "cruel" | "kind" | "pretty" | "ugly" | "useful" | "useless" | "normal" | "weird" | "modern" | "ancient" | "famous" | "unknown" | "perfect" | "flawed" | "rare" | "common" | "narrow" | "broad";
export default codename;
//# sourceMappingURL=adjectives-100.d.ts.map