
features • Installation • Usage
⭐️ 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..
npm i -g npm-name-checker2
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 ❌
- 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
View cached entries:
name-check cache list
Clear all cached data:
name-check cache clear
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)
Contributions welcome! Please open issues for feature requests or bugs.
MIT — see LICENSE
for details.
Built with ❤️ by Ali Nazari, for developers.