codename-gen

1.0.4 • Public • Published

Codename Generator

A library that generates Codenames for your project

Installation

npm install codename-gen

Usage

var generator = require('codename-gen');

var name = generator.gen([generator.wordListRepoType.MGSFIRSTNAME,generator.wordListRepoType.MGSLASTNAME]);

Output should be a string that is the generated name

wordListRepoType

NOUN
ADJECTIVE
ADVERB
VERB
FIRSTNAME
LASTNAME
TITLE
DAY
FEMALEFIRSTNAME
MALEFIRSTNAME
MONTH
STATENAME
MALETITLE
FEMALETITLE
JOBTITLE
COUNTRY
CITY
MGSFIRSTNAME
MGSLASTNAME

Contributing

In lieu of a formal style guide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code.

Readme

Keywords

none

Package Sidebar

Install

npm i codename-gen

Weekly Downloads

6

Version

1.0.4

License

MIT

Unpacked Size

7.27 kB

Total Files

4

Last publish

Collaborators

  • dijikstra