npm-name-check
v1.0.0
Published
Quickly check if npm package names are available. Bulk check, suggest alternatives.
Maintainers
Readme
npm-name-check
Instantly check if npm package names are available — with bulk check and smart suggestions.
Install
npm install -g npm-name-checkUsage
# Check a single name
npm-name-check my-awesome-lib
# Check multiple names at once
npm-name-check react vue svelte solid
# Get suggestions for taken names
npm-name-check react --suggestFeatures
- ⚡ Fast — parallel checks against the npm registry
- 📦 Bulk check — check multiple names in one command
- 💡 Smart suggestions — when a name is taken, suggests available alternatives with common prefixes/suffixes
- 🎨 Color output — green for available, red for taken
- 🪶 Zero dependencies — just Node.js built-ins
Why?
Coming up with a good npm package name is hard. This tool lets you rapidly check availability and find alternatives without leaving your terminal.
API
You can also use it programmatically:
const { checkName } = require('npm-name-check');
const result = await checkName('my-package');
// { name: 'my-package', available: true }License
MIT © kszongic
Support
If this saved you time, consider sponsoring ❤️
