1.0.5 • Published 7 years ago

fantasy-name v1.0.5

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

fantasy-name package

How to use this package.

  1. import module

const FantasyName = require('fantasy-name/fantasy-name');

  1. instantiate instance of FantasyName class

const fantasyName = new FantasyName();

  1. Invoke getName method to generate a name. Note that the length of the name is optional. It will default to somwhere between 3 and 6 but you can explicity enter a length as well.

console.log(fantasy_name.getName(5)) // returns name

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago