JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 42
  • Score
    100M100P100Q67825F
  • License MIT

Utility to generate random code names

Package Exports

  • codename-generator

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (codename-generator) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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.

--nsw

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`