Skip to content

A fast and efficient CLI tool to check the availability of package names on npm and repository names on GitHub Leave a star before you leave ⭐

License

Notifications You must be signed in to change notification settings

Silent-Watcher/npm-name-checker

npm-name-checker

npm-name-checker2

featuresInstallationUsage

⭐️ Please press the star! It greatly helps development! ⭐️

A fast and efficient CLI tool to check the availability of package names on npm and repository names on GitHub..

Install

npm i -g npm-name-checker2

Usage

Check a package name on npm:

name-check my-package-name

To check both npm and GitHub availability, provide the GitHub owner/organization:

name-check my-package-name -o my-github-username

Examples

# Check npm only
name-check awesome-package

# Check npm and GitHub
name-check awesome-package -o my-org

# Results will show:
# npm:     Available ✅
# github:  Taken     ❌

Features

  • Multi-platform checking: Verify name availability on both npm and GitHub
  • Real-time results: Get immediate feedback with color-coded output
  • Simple interface: Easy-to-use command line interface
  • Alternative suggestions: Get intelligent name suggestions when your desired name is taken
  • Smart caching: Results are cached locally to improve performance
  • Rate limiting: Automatic retry logic for API rate limits

Cache Management

View cached entries:

name-check cache list

Clear all cached data:

name-check cache clear

Alternative Suggestions

When a name is unavailable, the tool automatically suggests available alternatives by:

  • Adding common prefixes/suffixes (js, ts, api, core, lib, kit, pro, plus)
  • Generating synonyms using natural language processing
  • Creating separator variations (hyphens, underscores, camelCase)
  • Adding context words (utils, helper, toolkit, framework, module)

Example output when a name is taken:

Suggestions for available alternatives:
- awesome-package-js (available on npm and GitHub)
- fantastic-package (available on npm and GitHub)
- awesome-package-kit (available on npm and GitHub)

Contributing

Contributions welcome! Please open issues for feature requests or bugs.


License

MIT — see LICENSE for details.


Built with ❤️ by Ali Nazari, for developers.

⭐ Star us on GitHub🐦 Follow on Linkedin

About

A fast and efficient CLI tool to check the availability of package names on npm and repository names on GitHub Leave a star before you leave ⭐

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •