Back to list
Mearman

npm-info

by Mearman

Plugin marketplace distributing extensions that add skills, commands, hooks and custom agents to the code environment.

2🍴 0📅 Jan 23, 2026

SKILL.md


name: npm-info description: 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.

Get npm Package Information

Retrieve detailed metadata for a specific npm package.

Usage

npx tsx scripts/info.ts <package-name> [options]

Arguments

ArgumentRequiredDescription
package-nameYesThe exact package name (case-sensitive)

Options

OptionDescription
--no-cacheBypass cache and fetch fresh data from API

Output

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

Script Execution (Preferred)

npx tsx scripts/info.ts <package-name> [options]

Options:

  • --no-cache - Bypass cache and fetch fresh data from API

Run from the npm-registry plugin directory: ~/.claude/plugins/cache/npm-registry/

Package Metadata API

GET https://registry.npmjs.org/{package}

Parameters

ParameterRequiredDescription
packageYesThe exact package name (case-sensitive)

Examples

Get package metadata:

https://registry.npmjs.org/react

Response Format

The response contains comprehensive package metadata:

  • name - Package name
  • versions - Object mapping version numbers to full version metadata
  • dist-tags - Tags like latest, next, canary
  • time - Timestamps for each version publish
  • maintainers - Array of package maintainers
  • description - Package description
  • homepage - Project homepage URL
  • repository - Repository information (type, URL)
  • bugs - Bug tracker URL or email
  • license - License identifier
  • author - Author information
  • keywords - Array of keywords
  • dependencies - Production dependencies (per version)
  • devDependencies - Development dependencies (per version)
  • peerDependencies - Peer dependencies (per version)

Repository URL Formats

The registry accepts various repository URL formats:

  • https://github.com/owner/repo
  • git+https://github.com/owner/repo
  • git@github.com:owner/repo
  • ssh://git@github.com/owner/repo

These are automatically parsed and normalized.

Caching

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.

  • Use npm-search to find packages before getting details
  • Use npm-exists for a quick availability check
  • Use npm-downloads to see usage statistics

Error Handling

Package 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.

Score

Total Score

65/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

+10
人気

GitHub Stars 100以上

0/15
最近の活動

1ヶ月以内に更新

+10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

+5

Reviews

💬

Reviews coming soon