Skip to content

npm API: Get package

Looks up a public npm package by name or npm link. Returns its latest version, weekly downloads, maintainers, links, dates and version count.

npmjs.com (opens in a new tab)Version 1ReadNo sign-inVerified Nov 2, 2026

Unofficial. Not affiliated with or endorsed by npm.

Inputs

Values from the run on Oct 23, 2026, shown under Output.

Package, requiredpackage

The npm package name or npm package page link, for example react, @angular/core, or https://www.npmjs.com/package/react.

@angular/core

Output

From a run on Oct 23, 2026.
{  "name": "@angular/core",  "license": "MIT",  "homepage": "https://github.com/angular/angular#readme",  "description": "Angular - the core framework",  "maintainers": [    "angular",    "google-wombot"  ],  "created_date": "2016-04-28",  "npm_page_link": "https://www.npmjs.com/package/@angular/core",  "latest_version": "22.2.3",  "repository_link": "https://github.com/angular/angular.git",  "weekly_downloads": 3415695,  "last_publish_date": "2026-10-14",  "number_of_versions": 1124}
Price
1 credit per completed run (1¢ with pay as you go); failed runs are free.
Method
npmjs.com/get_package
Returns
name, latest version, description, weekly downloads, license, repository, homepage, maintainers, dates, version count, npm link

Use it from your agent

Give your agent this line. It reads SKILL.md, gets a Fous API key and connects the Fous MCP server. Its run then takes the method npmjs.com/get_package with the inputs above.

Ask your agent

  • What's the latest version of the lodash package and how many weekly downloads does it get?
  • Can you pull up the maintainers and license for @angular/core?
  • Look up the npm package at https://www.npmjs.com/package/express and tell me its repository and homepage links.
  • How many versions has the axios package published, and when was it last updated?
  • Find the npm page for the zod package on npmjs.com and summarize its description and weekly download count.
  • Returns total and daily or Monday-start weekly npm downloads for a package over the last week, month, or year.

    npmjs.com/get_download_stats
  • Searches the npm registry for JavaScript packages by description or keywords, in npm's search order, and returns each package's latest version, weekly downloads and publish date.

    npmjs.com/search_packages
  • Looks up a NuGet package by name or nuget.org link. Inexact names match the top search result. Returns the latest stable release's details and the 10 most recent versions, including prereleases.

    nuget.org/get_package
  • Gets a PyPI package's current version, release date, metadata, project links and its 10 most recently published versions from a package name or PyPI link.

    pypi.org/get_package
  • Looks up a Ruby gem on RubyGems by name or gem page link and returns its latest version, release date, description, downloads, authors, license, links and runtime dependencies.

    rubygems.org/get_gem
  • Finds a VS Code Marketplace extension by name or marketplace link and returns its publisher, installs, rating, version, categories and update date. For a name search it picks the most-installed close match.

    marketplace.visualstudio.com/get_extension
  • Looks up a Go module on pkg.go.dev by path, link or name. For a name, it uses the module of the top package search result.

    pkg.go.dev/get_module
  • Looks up a public GitHub repository by name, owner/name, or link and returns its stars, forks, release, commit and contributor facts.

    github.com/get_repository