anifunny

0.1.0 • Public • Published

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

Package Sidebar

Install

npm i anifunny

Weekly Downloads

0

Version

0.1.0

License

MIT

Unpacked Size

4.43 kB

Total Files

7

Last publish

Collaborators

  • tsadda25