npm

Does your artifact manager get in the way? Join us on Oct. 8 at 10am PT, to discuss how npm can help.Sign up »

roli

0.2.1 • Public • Published

roli

Build Status Dependency 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

install

npm i roli

Downloadsweekly downloads

0

version

0.2.1

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability