Back to Skills

npms-analyze

verified

Analyze npm package quality using NPMS.io scores for quality, popularity, and maintenance. Use when the user asks for package quality analysis, NPMS scores, or package evaluation metrics.

View on GitHub

Marketplace

mearman

Mearman/marketplace

Plugin

npms-io

Repository

Mearman/marketplace
2stars

plugins/npms-io/skills/npms-analyze/SKILL.md

Last Verified

January 23, 2026

Install Skill

Select agents to install to:

Scope:
npx add-skill https://github.com/Mearman/marketplace/blob/main/plugins/npms-io/skills/npms-analyze/SKILL.md -a claude-code --skill npms-analyze

Installation paths:

Claude
.claude/skills/npms-analyze/
Powered by add-skill CLI

Instructions

# Analyze npm Package Quality (NPMS.io)

Analyze an npm package using NPMS.io quality, popularity, and maintenance scores.

## Usage

```bash
npx tsx scripts/analyze.ts <package-name> [options]
```

### Arguments

| Argument | Required | Description |
|----------|----------|-------------|
| `package-name` | Yes | The exact package name (case-sensitive) |

### Options

| Option | Description |
|--------|-------------|
| `--no-cache` | Bypass cache and fetch fresh data from API |

### Output

```
react - Package Analysis
-------------------------

Quality Scores:
  Overall: 98/100
  Quality: 95/100
  Popularity: 100/100
  Maintenance: 99/100

Package Information:
  Version: 18.2.0
  Description: A declarative, efficient, and flexible JavaScript library...
  Published: 2013-05-24

npm Statistics:
  Week: 2,345,678 downloads
  Month: 9,876,543 downloads
  Year: 98,765,432 downloads

GitHub Activity:
  Stars: 213,456
  Forks: 45,678
  Open Issues: 1,234
  Contributors: 1,567
  Latest Commit: 2 days ago

Project Health:
  ✓ Has contributing guide
  ✓ Has license
  ✓ Has security policy
```

## Script Execution (Preferred)

```bash
npx tsx scripts/analyze.ts <package-name> [options]
```

Options:
- `--no-cache` - Bypass cache and fetch fresh data from API

Run from the npms-io plugin directory: `~/.claude/plugins/cache/npms-io/`

## Package Analysis API

```
GET https://api.npms.io/v2/package/{package}
```

### Parameters

| Parameter | Required | Description |
|-----------|----------|-------------|
| `package` | Yes | The exact package name (case-sensitive) |

### Examples

Get package analysis:
```
https://api.npms.io/v2/package/react
```

## Response Format

The response contains comprehensive package analysis:

### Metadata
- `name`, `version`, `description`, `keywords`
- Links (npm, homepage, repository, bugs)
- Author, maintainers, publishers
- Publication date

### npm Data
- `downloads` - Download counts over time
- `weekDownloads`, `monthDownloads`, `quarterDownlo

Validation Details

Front Matter
Required Fields
Valid Name Format
Valid Description
Has Sections
Allowed Tools
Instruction Length:
4307 chars