verifyname
v1.0.1
Published
Command line tool to check a package name is available
Readme
Verify Name
Wouldn't it be nice to have a command-line tool to check if an NPM package name is available for use?
A command-line tool to check if an NPM package name is available for use.
Features
- 🔍 Check if a package name is available on npm
- 🎨 Colorful console output
- 🔗 Direct link to npm package page if name is taken
- ✅ Simple and easy to use
Installation
npm install -g verifyname
# or
pnpm add -g verifynameUsage
verifyname <package-name>Examples
# Check if "my-npm-package" is available
verifyname my-npm-package
# Check if "react" is available
verifyname reactTerminal Output
When a package name is available:
✓ The package name 'my-npm-package' is available!When a package name is taken:
✗ The package name 'react' is already taken.
View it at: https://www.npmjs.com/package/reactDevelopment
Prerequisites
- Node.js >= 14
- pnpm (recommended) or npm
Setup
- Clone the repository
git clone <repository-url>
cd verifyname- Install dependencies
npm install
#or
pnpm installTesting
Run the test suite:
pnpm testLicense
MIT © Mitul Patel
