verifyname

1.0.1 • Public • Published

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 verifyname

Usage

verifyname <package-name>

Examples

# Check if "my-npm-package" is available
verifyname my-npm-package

# Check if "react" is available
verifyname react

Terminal 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/react

Development

Prerequisites

  • Node.js >= 14
  • pnpm (recommended) or npm

Setup

  1. Clone the repository
git clone <repository-url>
cd verifyname
  1. Install dependencies
npm install
#or
pnpm install

Testing

Run the test suite:

pnpm test

License

MIT © Mitul Patel

/verifyname/

    Package Sidebar

    Install

    npm i verifyname

    Weekly Downloads

    0

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    7.69 kB

    Total Files

    9

    Last publish

    Collaborators

    • bittricky