jack-chapman / ajajani

Generate random Adjective, Adjective, Animal strings

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ajajani

npm version

Generate Adjective, Adjective, Animal strings

This library is largely a TypeScript port of a-type/adjective-adjective-animal.

Todo

  • Custom word dictionaries
  • Formatting options (snake-case, kebab-case, etc.)
  • Custom number of adjectives and animals

Install

npm i ajajani

Usage

ESModule

import { generate } from 'ajajani'

const result = generate()

CommonJS

const { generate } = require('ajajani')

const result = generate()

generate will create a random 'Adjective, Adjective, Animal' string like the examples below:

  • CommonlawPrecapitalisticBobcat
  • InsensitiveSplurgyBlacklab
  • MinorPostglacialBushsqueaker
  • WearingEvacuatedRoller
  • AuthoritativeGermfreeGallinule
  • CottonOdorousWhoopingcrane
  • SubpentagonalStripedCaecilian
  • RetailMarkedGrayreefshark
  • PentagonoidSlimArabianhorse
  • CyclopeanConcessibleGoat
  • SmellySickeningHalibut
  • WantedAwestrickenHind
  • DimmedHyperbrutalCavy
  • QuasidesolateSalmonlikeArkshell
  • HumourlessDisturbedFowl

License

MIT © Jack Chapman

About

Generate random Adjective, Adjective, Animal strings

License:MIT License


Languages

Language:TypeScript 99.9%Language:JavaScript 0.1%