Skip to content

feat: add info command#228

Open
onmax wants to merge 3 commits intounjs:mainfrom
onmax:feat/info-command
Open

feat: add info command#228
onmax wants to merge 3 commits intounjs:mainfrom
onmax:feat/info-command

Conversation

@onmax
Copy link

@onmax onmax commented Jan 31, 2026

Closes #207

Queries npm registry directly (not via PM CLI). Supports:

  • nypm info vue
  • nypm info @nuxt/kit --json
  • nypm info vue@beta
  • Custom registry via --registry
Example output
$ nypm info vue
vue@3.5.27
The progressive JavaScript framework for building modern web UI.
license: MIT

$ nypm info vue@beta
vue@3.6.0-beta.5
The progressive JavaScript framework for building modern web UI.
license: MIT

$ nypm info @nuxt/kit --json
{
  "name": "@nuxt/kit",
  "version": "4.3.0",
  "description": "Toolkit for authoring modules and interacting with Nuxt",
  "license": "MIT",
  "homepage": "https://nuxt.com/docs/4.x/api/kit",
  "repository": { "url": "git+https://github.com/nuxt/nuxt.git", "type": "git", "directory": "packages/kit" },
  "dependencies": { "c12": "^3.3.3", "defu": "^6.1.4", "jiti": "^2.6.1", ... },
  "devDependencies": { "vite": "7.3.1", "vitest": "3.2.4", ... },
  "dist": { "tarball": "https://registry.npmjs.org/@nuxt/kit/-/kit-4.3.0.tgz", ... },
  "versions": ["0.2.0", "0.3.0", ... "4.3.0"],
  "distTags": { "alpha": "4.0.0-alpha.4", "rc": "4.0.0-rc.0", "3x": "3.21.0", "latest": "4.3.0" }
}

@onmax onmax marked this pull request as ready for review January 31, 2026 08:36
@onmax
Copy link
Author

onmax commented Jan 31, 2026

@pi0 thanks for the review. Addressed all review feedback in 92b0e6b

onmax added a commit to onmax/nypm that referenced this pull request Jan 31, 2026
@onmax onmax force-pushed the feat/info-command branch from 0a0fbd7 to 135a5a7 Compare January 31, 2026 10:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

nypm info <pkg>

2 participants