roli

0.3.0 • Public • Published

roli

Greenkeeper badge Build Status Downloads Always useful

Fantastic names for your projects, groups, users or anything else you want to give a name to.

Install

npm install --save roli

If you need to use it globally as a CLI tool:

npm install -g roli

Use

const roli = require('roli');
const result = roli();

// 'Precious.Declaration'

Use it with options:

const roli = require('roli');
// Custom separator
const result = roli({
  separator: '_'
});

// 'Precious_Declaration'

More options

{
  "case": "upper" || "lower",  // Upper -or lower case the result.
  "separator": ".",  // Separator. Default: .
  "words": 2,        // Number of words. Default: 2
}

CLI use:

$> roli --separator=_ --words=3

// 'Precious_Declaration_Subject'

Contribute

fork https://github.com/aichholzer/roli/

More ideas for adjectives and nouns (See ./lib/data.json) are always welcome.

License

MIT

Package Sidebar

Install

npm i roli

Weekly Downloads

1

Version

0.3.0

License

MIT

Unpacked Size

53.8 kB

Total Files

22

Last publish

Collaborators

  • saichholzer