0.1.0 • Published 3 years ago

anifunny v0.1.0

Weekly downloads
12
License
MIT
Repository
-
Last release
3 years ago

AniFunny

A zero dependecies library to generate random funny italians (animals mainly) names.

npm install --save anifunny

Use

Auto:

let anifunny = require('anifunny')

let randomFunnyName = anifunny.generate()

console.log(randomFunnyName) // => leprotto.spettinato

With custom number and separator:

let anifunny = require('anifunny')

let randomFunnyName = anifunny.generate(2, '-')

console.log(randomFunnyName) // => pesciolino-innamorato

If you want to choose the categories, use the generateWith function:

let anifunny = require('anifunny')

let categories = anifunny.categories // => [ 'animals', 'qualities', 'colors' ]

let anotherRandomFunnyName = anifunny.generateWith(['animals', 'colors'])

console.log(anotherRandomFunnyName) // => topolina.rosa

License

Released under MIT License

0.1.0

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago