/npm-registry:npm-infofrom npm-registry
Get 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.
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.
Retrieve detailed metadata for a specific npm package.
npx tsx scripts/info.ts <package-name> [options]
| Argument | Required | Description |
|---|---|---|
package-name | Yes | The exact package name (case-sensitive) |
| Option | Description |
|---|---|
--no-cache | Bypass cache and fetch fresh data from API |
react
------
Description: React is a JavaScript library for building user interfaces.
Latest: 18.2.0
License: MIT
Homepage: https://react.dev
Repository: https://github.com/facebook/react
Versions (last 5):
18.2.0 - Published 2022-06-14
18.1.0 - Published 2022-04-26
18.0.0 - Published 2022-03-29
17.0.2 - Published 2021-03-10
17.0.1 - Published 2020-12-20
Maintainers:
- @hzoo
- @acdlite
npx tsx scripts/info.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/
GET https://registry.npmjs.org/{package}
| Parameter | Required | Description |
|---|---|---|
package | Yes | The exact package name (case-sensitive) |
Get package metadata:
https://registry.npmjs.org/react
The response contains comprehensive package metadata:
name - Package nameversions - Object mapping version numbers to full version metadatadist-tags - Tags like latest, next, canarytime - Timestamps for each version publishmaintainers - Array of package maintainersdescription - Package descriptionhomepage - Project homepage URLrepository - Repository information (type, URL)bugs - Bug tracker URL or emaillicense - License identifierauthor - Author informationkeywords - Array of keywordsdependencies - Production dependencies (per version)devDependencies - Development dependencies (per version)peerDependencies - Peer dependencies (per version)The registry accepts various repository URL formats:
https://github.com/owner/repogit+https://github.com/owner/repo[email protected]:owner/repossh://[email protected]/owner/repoThese are automatically parsed and normalized.
Package metadata is cached for 6 hours. Versions change infrequently, and most metadata remains stable between releases.
Use the --no-cache flag to bypass the cache.
npm-search to find packages before getting detailsnpm-exists for a quick availability checknpm-downloads to see usage statisticsPackage not found: If the package doesn't exist, you'll receive a 404 response. Use npm-exists to check availability first.
Invalid package name: Package names must be valid npm package names (lowercase, can contain hyphens, underscores, periods).
Scope issues: For scoped packages like @babel/core, include the scope in the name.
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-existsCheck 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./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