Skip to content

Use `codename-generator` to suggest some random code names for when your imagination lets you down.

Notifications You must be signed in to change notification settings

markSmurphy/codename-generator

Repository files navigation

codename-generator

Version node-current Codacy Badge GitHub issues Known Vulnerabilities Libraries.io dependency status for latest release Downloads Licence

Overview

Have you ever needed to give something a code name? Perhaps for a project you're working on, or a new screen-name, but your imagination has let you down? Use codename-generator to suggest some random code names.

It has a small dictionary of a few thousand inoffensive adjectives and nouns which are picked at random to generate a suggested code name. By default a screen-full of suggestions are made, so the larger your screen is, the more suggestions you'll have.

codename-generator

codename-generator


Installation

npm -g install codename-generator

Change Log

See what's changed recently via the CHANGELOG.md which can be found here


Options

You can use the --help option to list all of the options.

Default (no options)

Don't supply any options and by default you'll get a screen-full of suggested code names (based upon the terminal's row count via the property node -p process.stdout.rows).

Or you can specify how many you'd like generated:

codename-generator 20

codename-generator 20

--list-adjectives

Lists all ~1870 adjectives in the dictionary.

--list-nouns

Lists all ~960 nouns in the dictionary.

--nsfw

Enables Not Safe for Work mode, which supplements the usual inoffensive dictionary with a selection of the ruder everyday english expressions.

--no-color

Switches off colour output. Useful if piping output somewhere which doesn't handle the unicode control codes.

--version

Display the version number.

--help

Display the help screen.

codename-generator --help