/npm-registry:npm-existsfrom npm-registry
Check if an npm package name exists in the registry. Use when the user asks if a package name is available, wants to check package existence, or verify if a package is published.
Ships in npm-registry. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Check if a package name exists in the npm registry.
npx tsx scripts/exists.ts <package-name> [options]
| Argument | Required | Description |
|---|---|---|
package-name | Yes | The exact package name to check (case-sensitive) |
| Option | Description |
|---|---|
--no-cache | Bypass cache and fetch fresh data from API |
Package exists:
✓ Package "react" exists
URL: https://www.npmjs.com/package/react
Published: Yes
Package does not exist:
✗ Package "my-awesome-pkg-12345" does not exist
The name is available for use
npx tsx scripts/exists.ts <package-name> [options]
Options:
--no-cache - Bypass cache and fetch fresh data from APIRun from the npm-registry plugin directory: ~/.claude/plugins/cache/npm-registry/
HEAD https://registry.npmjs.org/{package}
| Parameter | Required | Description |
|---|---|---|
package | Yes | The exact package name to check (case-sensitive) |
Check if a package exists:
HEAD https://registry.npmjs.org/react
For scoped packages:
HEAD https://registry.npmjs.org/@babel/core
Package exists - HTTP 200 OK
npm info or npm install with this namePackage does not exist - HTTP 404 Not Found
Before publishing a new package, verify the name is available:
npx tsx exists.ts my-new-package
Confirm a package exists before installing or using it:
npx tsx exists.ts some-dependency
Check scoped package names:
npx tsx exists.ts @myorg/package-name
Package names must:
@, or _. or _Scoped packages (@scope/name) have additional rules:
Existence checks are cached for 1 hour. Package availability changes infrequently, so short cache times provide a good balance between freshness and performance.
Use the --no-cache flag to bypass the cache.
npm-info to get detailed package metadata when it existsnpm-search to find similar or alternative packagesnpm-downloads to see package statisticsNetwork errors: The npm registry may be temporarily unavailable. Retry after a brief delay.
Rate limiting: While existence checks use HEAD requests (minimal bandwidth), excessive rapid requests may be rate-limited.
Scoped packages: Remember that scoped packages require the full name including the scope (e.g., @babel/core, not just core).
What SKILL.md sets; muted values are Claude Code's defaults
4 skills in this plugin
/npm-downloadsGet download statistics for an npm package over time. Use when the user asks for package download counts, popularity metrics, or usage statistics./npm-infoGet detailed metadata for an npm package including versions, dependencies, maintainers, and repository information. Use when the user asks for package details, version history, or package metadata./npm-searchSearch for npm packages by keyword, name, or description. Use when the user asks to search npm packages, find packages related to a topic, or discover packages for a specific purpose.npx claudepluginhub mearman/marketplace --plugin npm-registryOther plugins' skills for the same job