Generate random, alliterated animal names.
TypeScript 100.0%
24 1 0

Clone this repository

https://tangled.org/graham.systems/randimal
git@tangled.org:graham.systems/randimal

For self-hosted knots, clone URLs may differ based on your setup.

README.md

@puregarlic/randimal#

JSR

A random animal name generator. Returns an alliterated adjective and an animal name, separated by a space.

import { generateRandomName } from "jsr:@puregarlic/randimal";

const name = await generateRandomName();

console.log(name); // Geological Gnu

Originally based on random-animal-name-generator, then modernized, then moved to Deno. Notable differences include:

  • Async dictionary loading
  • Consistent capitalization
  • Removal of compound animal names
  • Removal of some nonexistent animals

I'm not certain as the the origins of these dictionaries, but there seems to be some alignment with the Scribblenauts wiki. Be aware that many of the adjectives are made up.

Source code is available on Tangled: @graham.systems/randimal