Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Find available & relevant npm package names from the command line.

License

Notifications You must be signed in to change notification settings

haltcase/namesake-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

19 Commits

Repository files navigation

Find available & relevant npm package names from the command line.

Supposedly:

There are only three hard things in Computer Science: cache invalidation, naming things, off-by-one errors, and being original.

  • Phil Karlton et al.1

1 original quote is becoming lost to history / legend

namesake can do absolutely nothing to help you with cache invalidation and off-by-one errors but it can help you with naming things. Being original is still up to you.

installation

npm i -g namesake-cli

usage

Usage: namesake [word] [options]
 Generate a list of words that just so happen to also
 be available as npm package names.
 Optionally, you can use any word as input to find
 related words and terms.
Options:
 -l, --limit <n> Limit the number of results returned (defaults to 50)
 -h, --help Show this help message
 -v, --version Output the namesake version number

example

Note: namesake's output is non-deterministic by design. so the following example is not 100% reproduceable, and these package names might not be available in the future.

$ namesake car
Available package names related to 'car':
acr automobile fund cadillac
railcar bombs cable-car accident
mercedes gondola carload
malibu wagons trolley
automotive autos automaker
sedan consignment carpark
elevator-car escalade buick
motorcar motoring pinto
parking railway-car carla
backseat railroad-car driving
lading vehicles automobiles

Limiting the number of results:

$ namesake car --limit 5
Available package names related to 'car':
gondola carload driving carpark motorcar

see also

  • namesake - the module powering this command line tool
  • Datamuse API - powers the related word search capabilities
  • english-words - word list used here for random word selection

contributing

Pull requests and any issues found are always welcome.

  1. Fork the project, and preferably create a branch named something like feat-make-better
  2. Modify the source files as needed
  3. Make sure all tests continue to pass, and it never hurts to have more tests
  4. Push & pull request! πŸŽ‰

license

MIT Β© Bo Lingen / citycide

About

Find available & relevant npm package names from the command line.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /