fantastical
TypeScript icon, indicating that this package has built-in type declarations

2.0.1 • Public • Published

fantastical

A fantasy name generator based on fantasygen. You can see examples of the output below here.

Install

npm i fantastical

Usage

import { human, mysticOrder, adventure, tavern, species, parties, places, adventures } = from 'fantastical';

API

species

Some species support options, and those will be listed. If a species allows for a gender, you can use 'male', 'female', or any other string (including null) to ignore gender usage.

Function Options
goblin none
orc none
ogre none
cavePerson gender
dwarf gender
halfling gender
gnome gender
elf gender
highelf gender
fairy gender
highfairy gender
darkelf gender
drow gender
halfdemon gender
demon none
dragon gender
angel gender
human { allowMultipleNames: boolean }

parties

No party supports options at this time.

Function Options
mysticOrder none
militaryUnit none
guild none

places

No place function supports options at this time.

Function Options
tavern none

adventures

No adventure function supports options at this time.

Function Options
adventure none

Package Sidebar

Install

npm i fantastical

Weekly Downloads

23

Version

2.0.1

License

MIT

Unpacked Size

695 kB

Total Files

24

Last publish

Collaborators

  • seiyria