anifunny

Generate random funny italians names

Usage no npm install needed!

<script type="module">
  import anifunny from 'https://cdn.skypack.dev/anifunny';
</script>

README

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