1.0.4 • Published 3 years ago
codename-gen v1.0.4
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.