VibeHunt
Back to browse
npm-name-cli

npm-name-cli

Check whether a package name is available on npm.

Source

The tool provides a command‑line interface for checking the availability of npm package and organization names. When invoked with one or more identifiers, it reports whether each name is already taken, squatted, or free, and can optionally list similar alternative names. It distinguishes between regular packages and scoped packages (e.g., @org/name) and exits with a status code indicating success (all names available or squatted) or failure (any name taken or erroneous).

It is aimed at developers who need a quick, reliable way to verify name availability before publishing a new package or creating an organization on npm. The CLI offers concise, human‑readable output and integrates squatter detection from the related squatter project, allowing users to see if a name is being held by a placeholder account. Performance measurements show it runs in well under a second for typical queries, considerably faster than npm’s built‑in search command.

The package is distributed as a global npm module, installed via npm install --global npm-name-cli, and is marked as stable with core CLI functionality. It does not require additional configuration and can be used directly from the terminal to streamline the naming workflow for npm projects.

Reviews

Sign in to leave a review.

Loading reviews…

Similar apps