Npm

12 tools available

npm is the default package manager for JavaScript and Node.js, facilitating the sharing and reuse of code, managing dependencies, and streamlining project workflows.

Connect Npm to Definable to triage issues, review pull requests, monitor builds. Personas call Npm's 12 tools directly from chat or scheduled flows. Wire it into a triage, review, or release-management persona — every action runs scoped, reviewable, and logged.

Common workflows with Npm

01

Triage incoming issues

  1. Webhook fires on every new issue
  2. Persona summarises and labels it
  3. Assigns the right engineer
02

Auto-review PRs

  1. Pull the diff
  2. Run a code-review persona
  3. Post structured feedback as PR comment
03

Failing-build alerts

  1. CI sends a failure event
  2. Agent inspects logs and stack trace
  3. Drops a debug summary in Slack
04

Release notes from commits

  1. Read commits since last tag
  2. Group by type with the model
  3. Post to a changelog channel

Npm actions 12

Every Npm action below is a callable tool any Definable persona can invoke.

Delete User Token (Legacy)

Tool to delete a user authentication token using the legacy endpoint. Use when you need to revoke or remove a specific token from the npm registry.

Get All Packages Download Count Point

Get total npm registry download statistics for all packages for a specified time period. Returns aggregate download counts across the entire npm registry with start/end dates. Supports preset periods (last-day, last-week, last-month, last-year) or custom date ranges (YYYY-MM-DD:YYYY-MM-DD).

Get NPM Download Counts Point

Get npm package download statistics for a specified time period. Returns total download counts with start/end dates for single packages, scoped packages, or bulk queries (up to 128 packages). Supports preset periods (last-day, last-week, last-month, last-year) or custom date ranges (YYYY-MM-DD:YYYY-MM-DD).

Get NPM Package Download Counts Over Date Range

Tool to get download counts for an npm package over a specified date range. Use when you need historical daily download data.

Get All NPM Packages Download Counts by Period

Tool to get daily download counts for all npm packages over a specified period. Use when you need aggregate download statistics across the entire npm registry.

Get Registry Changes Feed

Tool to get a stream of registry changes for replication purposes. Returns CouchDB-style change feed for following registry updates.

Get NPM Registry Meta

Retrieves npm registry metadata via meta endpoints. Use 'ping' to verify registry connectivity or 'whoami' to get the authenticated username.

Get NPM Package Version Downloads (Last 7 Days)

Tool to get download counts for specific versions of a package over the last 7 days. Use when you need to understand which versions are most popular.

Query Bulk Security Advisories

Tool to bulk query security advisories for multiple npm packages. Use when you need to check vulnerability information for multiple packages and versions at once.

Get NPM Package Metadata

Tool to fetch metadata for a specified npm package. Use after confirming the exact package name, including scope. Responses can be large; prefer reading top-level fields like 'dist-tags', 'description', and 'license' rather than scanning the entire object.

Get NPM Registry Root Metadata

Fetches npm registry root metadata including total package count and update sequence. Returns database statistics from the npm replication service. No parameters required. Use this to get current registry statistics like the total number of packages available.

Search NPM Packages

Tool to search for packages in the npm registry. Use when you need to find packages matching a search term. Results are returned in an 'objects' array; each element contains package metadata under a 'package' field and weekly download estimates under 'downloads.weekly'.

Frequently asked questions

What can I automate with Npm on Definable?

Anything Npm exposes through its API. Common developer tools workflows on Definable include triage issues, review pull requests, monitor builds. Personas can call any of the 12 Npm tools directly, then chain the result into another integration without you writing code.

How does Npm authentication work?

Npm uses API_KEY on Definable. You connect once from the integrations page, scoped to the permissions you choose, and from then on any persona that has the integration enabled can act on your behalf. Tokens are encrypted at rest and rotated automatically.

Is the Npm integration included in my Definable plan?

Yes — every Definable plan, including Starter, includes access to all 12 Npm tools. You only need a separate Npm subscription if Npm itself charges per seat or per API call.

Is using Npm through Definable secure?

Every call from a persona to Npm is logged with the user, persona, prompt, and response. Tokens never leave Definable's secrets vault, scopes are configurable per persona, and you can revoke access at any time from the integration page.

How do I get started with Npm on Definable?

Sign up for Definable, open the integrations page, find Npm, and connect via OAuth or API key. You can immediately attach Npm to any persona and start running workflows. The free Starter plan includes 5,000 credits/month.

What Npm actions does Definable expose?

Definable exposes all 12 Npm actions as callable tools — including `Delete User Token (Legacy)`, `Get All Packages Download Count Point`, `Get NPM Download Counts Point`, plus 9 more. Each tool gets a typed parameter schema so personas know exactly how to call it.

Ready to automate with Npm?

Wire it up in minutes. No coding required.

← All integrations