codenames
Version:
Converts numerical values into human-readable names following a specific theme (e.g., cities)
24 lines • 1.59 kB
TypeScript
/**
* Auto-generated from clothing.txt. Do not edit manually.
* Run 'bun run scripts/generate.ts clothing Clothing' to regenerate.
*
* SPDX-FileCopyrightText: 2025-present Kriasoft
* SPDX-License-Identifier: MIT
*/
export declare const clothing: readonly ["shirt", "jeans", "shoe", "hat", "sock", "dress", "coat", "belt", "tie", "pants", "glove", "jacket", "boot", "skirt", "vest", "suit", "cap", "bag", "scarf", "bra", "shorts", "watch", "ring", "heel", "tank", "tee", "blazer", "blouse", "purse", "bikini", "slip", "sandal", "loafer", "flat", "pump", "beanie", "mitten", "tights", "jumper", "kimono", "poncho", "tux", "shawl", "boxer", "brief", "thong", "cape", "gown", "frock", "tunic"];
export type Clothing = (typeof clothing)[number];
/**
* Converts a number to a Clothing codename
*
* @param input - The number to convert
* @returns A Clothing name
*
* @example
* ```typescript
* import codename from "codenames/clothing-50";
* codename(1234) // "shorts"
* ```
*/
export declare const codename: (input: number) => "flat" | "shirt" | "jeans" | "shoe" | "hat" | "sock" | "dress" | "coat" | "belt" | "tie" | "pants" | "glove" | "jacket" | "boot" | "skirt" | "vest" | "suit" | "cap" | "bag" | "scarf" | "bra" | "shorts" | "watch" | "ring" | "heel" | "tank" | "tee" | "blazer" | "blouse" | "purse" | "bikini" | "slip" | "sandal" | "loafer" | "pump" | "beanie" | "mitten" | "tights" | "jumper" | "kimono" | "poncho" | "tux" | "shawl" | "boxer" | "brief" | "thong" | "cape" | "gown" | "frock" | "tunic";
export default codename;
//# sourceMappingURL=clothing-50.d.ts.map