# Deps Dev

> Look up the latest version of any package using deps.dev API. Use this skill when checking package versions, updating dependencies, adding new packages to a project, or verifying current library versions.

- Skill: `majiayu000/deps-dev-2` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds add majiayu000/deps-dev-2`
- Raw SKILL.md: https://api.skillmd.com/api/skills/majiayu000/deps-dev-2/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Integrations & APIs
- Author: majiayu000 (https://skillmd.com/u/majiayu000)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/majiayu000/deps-dev-2

---


# Package Version Lookup

Query deps.dev to get the latest stable version of open source packages.

## Usage

Use the Python script at `scripts/deps-dev.py`.

### Get Latest Version

```bash
# npm package
python scripts/deps-dev.py package --system npm --package express

# Scoped npm package
python scripts/deps-dev.py package --system npm --package "@types/node"

# PyPI package
python scripts/deps-dev.py package --system pypi --package requests

# Go module
python scripts/deps-dev.py package --system go --package "github.com/gin-gonic/gin"

# Cargo crate
python scripts/deps-dev.py package --system cargo --package serde

# Show recent versions
python scripts/deps-dev.py package --system npm --package express --all-versions
```

### Get Specific Version Details

```bash
python scripts/deps-dev.py version --system npm --package express --version 5.0.0
```

## Supported Ecosystems

| Ecosystem | System ID |
| --------- | --------- |
| npm | `npm` |
| PyPI | `pypi` |
| Go | `go` |
| Cargo | `cargo` |
| Maven | `maven` |
| NuGet | `nuget` |
| RubyGems | `rubygems` |

## Ecosystem Detection

Identify the ecosystem from project files:

- `package.json` → npm
- `requirements.txt`, `pyproject.toml` → pypi
- `go.mod` → go
- `Cargo.toml` → cargo
- `pom.xml`, `build.gradle` → maven
- `*.csproj` → nuget
- `Gemfile` → rubygems

## Rules

- Use `--format json` for structured output when needed
- The script handles URL encoding automatically
- Use `--all-versions` to see recent version history

