123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729 |
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.randomName = randomName;
- const adjectives = [
- "abandoned",
- "aching",
- "advanced",
- "ample",
- "artistic",
- "back",
- "best",
- "bold",
- "brief",
- "clear",
- "cold",
- "complicated",
- "cooked",
- "crazy",
- "crushing",
- "damp",
- "dear",
- "definite",
- "dependable",
- "diligent",
- "drab",
- "earnest",
- "elderly",
- "enchanted",
- "essential",
- "excellent",
- "extraneous",
- "fixed",
- "flowery",
- "formal",
- "fresh",
- "frosty",
- "giving",
- "glossy",
- "healthy",
- "helpful",
- "impressionable",
- "kind",
- "large",
- "left",
- "long",
- "loyal",
- "mealy",
- "memorable",
- "monthly",
- "new",
- "notable",
- "only",
- "ordinary",
- "passionate",
- "perfect",
- "pertinent",
- "proper",
- "puzzled",
- "reflecting",
- "respectful",
- "roasted",
- "scholarly",
- "shiny",
- "slight",
- "sparkling",
- "spotless",
- "stupendous",
- "sunny",
- "tart",
- "terrific",
- "timely",
- "unique",
- "upbeat",
- "vacant",
- "virtual",
- "warm",
- "weary",
- "whispered",
- "worthwhile",
- "yellow",
- ];
- const nouns = [
- "account",
- "acknowledgment",
- "address",
- "advertising",
- "airplane",
- "animal",
- "appointment",
- "arrival",
- "artist",
- "attachment",
- "attitude",
- "availability",
- "backpack",
- "bag",
- "balance",
- "bass",
- "bean",
- "beauty",
- "bibliography",
- "bill",
- "bite",
- "blossom",
- "boat",
- "book",
- "box",
- "boy",
- "bread",
- "bridge",
- "broccoli",
- "building",
- "butter",
- "button",
- "cabbage",
- "cake",
- "camera",
- "camp",
- "candle",
- "candy",
- "canvas",
- "car",
- "card",
- "carrot",
- "cart",
- "case",
- "cat",
- "chain",
- "chair",
- "chalk",
- "chance",
- "change",
- "channel",
- "character",
- "charge",
- "charm",
- "chart",
- "check",
- "cheek",
- "cheese",
- "chef",
- "cherry",
- "chicken",
- "child",
- "church",
- "circle",
- "class",
- "clay",
- "click",
- "clock",
- "cloth",
- "cloud",
- "clove",
- "club",
- "coach",
- "coal",
- "coast",
- "coat",
- "cod",
- "coffee",
- "collar",
- "color",
- "comb",
- "comfort",
- "comic",
- "committee",
- "community",
- "company",
- "comparison",
- "competition",
- "condition",
- "connection",
- "control",
- "cook",
- "copper",
- "copy",
- "corn",
- "cough",
- "country",
- "cover",
- "crate",
- "crayon",
- "cream",
- "creator",
- "crew",
- "crown",
- "current",
- "curtain",
- "curve",
- "cushion",
- "dad",
- "daughter",
- "day",
- "death",
- "debt",
- "decision",
- "deer",
- "degree",
- "design",
- "desire",
- "desk",
- "detail",
- "development",
- "digestion",
- "dime",
- "dinner",
- "direction",
- "dirt",
- "discovery",
- "discussion",
- "disease",
- "disgust",
- "distance",
- "distribution",
- "division",
- "doctor",
- "dog",
- "door",
- "drain",
- "drawer",
- "dress",
- "drink",
- "driving",
- "dust",
- "ear",
- "earth",
- "edge",
- "education",
- "effect",
- "egg",
- "end",
- "energy",
- "engine",
- "error",
- "event",
- "example",
- "exchange",
- "existence",
- "expansion",
- "experience",
- "expert",
- "eye",
- "face",
- "fact",
- "fall",
- "family",
- "farm",
- "father",
- "fear",
- "feeling",
- "field",
- "finger",
- "fire",
- "fish",
- "flag",
- "flight",
- "floor",
- "flower",
- "fold",
- "food",
- "football",
- "force",
- "form",
- "frame",
- "friend",
- "frog",
- "fruit",
- "fuel",
- "furniture",
- "game",
- "garden",
- "gate",
- "girl",
- "glass",
- "glove",
- "goat",
- "gold",
- "government",
- "grade",
- "grain",
- "grass",
- "green",
- "grip",
- "group",
- "growth",
- "guide",
- "guitar",
- "hair",
- "hall",
- "hand",
- "harbor",
- "harmony",
- "hat",
- "head",
- "health",
- "heart",
- "heat",
- "hill",
- "history",
- "hobbies",
- "hole",
- "hope",
- "horn",
- "horse",
- "hospital",
- "hour",
- "house",
- "humor",
- "idea",
- "impulse",
- "income",
- "increase",
- "industry",
- "ink",
- "insect",
- "instrument",
- "insurance",
- "interest",
- "invention",
- "iron",
- "island",
- "jelly",
- "jet",
- "jewel",
- "join",
- "judge",
- "juice",
- "jump",
- "kettle",
- "key",
- "kick",
- "kiss",
- "kitten",
- "knee",
- "knife",
- "knowledge",
- "land",
- "language",
- "laugh",
- "law",
- "lead",
- "learning",
- "leather",
- "leg",
- "lettuce",
- "level",
- "library",
- "lift",
- "light",
- "limit",
- "line",
- "linen",
- "lip",
- "liquid",
- "list",
- "look",
- "loss",
- "love",
- "lunch",
- "machine",
- "man",
- "manager",
- "map",
- "marble",
- "mark",
- "market",
- "mass",
- "match",
- "meal",
- "measure",
- "meat",
- "meeting",
- "memory",
- "metal",
- "middle",
- "milk",
- "mind",
- "mine",
- "minute",
- "mist",
- "mitten",
- "mom",
- "money",
- "monkey",
- "month",
- "moon",
- "morning",
- "mother",
- "motion",
- "mountain",
- "mouth",
- "muscle",
- "music",
- "nail",
- "name",
- "nation",
- "neck",
- "need",
- "news",
- "night",
- "noise",
- "note",
- "number",
- "nut",
- "observation",
- "offer",
- "oil",
- "operation",
- "opinion",
- "orange",
- "order",
- "organization",
- "ornament",
- "oven",
- "page",
- "pail",
- "pain",
- "paint",
- "pan",
- "pancake",
- "paper",
- "parcel",
- "parent",
- "part",
- "passenger",
- "paste",
- "payment",
- "peace",
- "pear",
- "pen",
- "pencil",
- "person",
- "pest",
- "pet",
- "picture",
- "pie",
- "pin",
- "pipe",
- "pizza",
- "place",
- "plane",
- "plant",
- "plastic",
- "plate",
- "play",
- "pleasure",
- "plot",
- "plough",
- "pocket",
- "point",
- "poison",
- "police",
- "pollution",
- "popcorn",
- "porter",
- "position",
- "pot",
- "potato",
- "powder",
- "power",
- "price",
- "print",
- "process",
- "produce",
- "product",
- "profit",
- "property",
- "prose",
- "protest",
- "pull",
- "pump",
- "punishment",
- "purpose",
- "push",
- "quarter",
- "question",
- "quiet",
- "quill",
- "quilt",
- "quince",
- "rabbit",
- "rail",
- "rain",
- "range",
- "rat",
- "rate",
- "ray",
- "reaction",
- "reading",
- "reason",
- "record",
- "regret",
- "relation",
- "religion",
- "representative",
- "request",
- "respect",
- "rest",
- "reward",
- "rhythm",
- "rice",
- "river",
- "road",
- "roll",
- "room",
- "root",
- "rose",
- "route",
- "rub",
- "rule",
- "run",
- "sack",
- "sail",
- "salt",
- "sand",
- "scale",
- "scarecrow",
- "scarf",
- "scene",
- "scent",
- "school",
- "science",
- "scissors",
- "screw",
- "sea",
- "seat",
- "secretary",
- "seed",
- "selection",
- "self",
- "sense",
- "servant",
- "shade",
- "shake",
- "shame",
- "shape",
- "sheep",
- "sheet",
- "shelf",
- "ship",
- "shirt",
- "shock",
- "shoe",
- "shop",
- "show",
- "side",
- "sign",
- "silk",
- "sink",
- "sister",
- "size",
- "sky",
- "sleep",
- "smash",
- "smell",
- "smile",
- "smoke",
- "snail",
- "snake",
- "sneeze",
- "snow",
- "soap",
- "society",
- "sock",
- "soda",
- "sofa",
- "son",
- "song",
- "sort",
- "sound",
- "soup",
- "space",
- "spark",
- "speed",
- "sponge",
- "spoon",
- "spray",
- "spring",
- "spy",
- "square",
- "stamp",
- "star",
- "start",
- "statement",
- "station",
- "steam",
- "steel",
- "stem",
- "step",
- "stew",
- "stick",
- "stitch",
- "stocking",
- "stomach",
- "stone",
- "stop",
- "store",
- "story",
- "stove",
- "stranger",
- "straw",
- "stream",
- "street",
- "stretch",
- "string",
- "structure",
- "substance",
- "sugar",
- "suggestion",
- "suit",
- "summer",
- "sun",
- "support",
- "surprise",
- "sweater",
- "swim",
- "system",
- "table",
- "tail",
- "talk",
- "tank",
- "taste",
- "tax",
- "tea",
- "teaching",
- "team",
- "tendency",
- "test",
- "texture",
- "theory",
- "thing",
- "thought",
- "thread",
- "throat",
- "thumb",
- "thunder",
- "ticket",
- "time",
- "tin",
- "title",
- "toad",
- "toe",
- "tooth",
- "toothpaste",
- "touch",
- "town",
- "toy",
- "trade",
- "train",
- "transport",
- "tray",
- "treatment",
- "tree",
- "trick",
- "trip",
- "trouble",
- "trousers",
- "truck",
- "tub",
- "turkey",
- "turn",
- "twist",
- "umbrella",
- "uncle",
- "underwear",
- "unit",
- "use",
- "vacation",
- "value",
- "van",
- "vase",
- "vegetable",
- "veil",
- "vein",
- "verse",
- "vessel",
- "view",
- "visitor",
- "voice",
- "volcano",
- "walk",
- "wall",
- "war",
- "wash",
- "waste",
- "watch",
- "water",
- "wave",
- "wax",
- "way",
- "wealth",
- "weather",
- "week",
- "weight",
- "wheel",
- "whip",
- "whistle",
- "window",
- "wine",
- "wing",
- "winter",
- "wire",
- "wish",
- "woman",
- "wood",
- "wool",
- "word",
- "work",
- "worm",
- "wound",
- "wrist",
- "writer",
- "yard",
- "yoke",
- "zebra",
- "zinc",
- "zipper",
- "zone",
- ];
- /**
- * Generate a random name.
- * @returns {string} A random name.
- */
- function randomName() {
- const adjective = adjectives[Math.floor(Math.random() * adjectives.length)];
- const noun = nouns[Math.floor(Math.random() * nouns.length)];
- const number = Math.floor(Math.random() * 100);
- return `${adjective}-${noun}-${number}`;
- }
|