Npm
npm registry API for package download counts, registry changes feed, user tokens, and per-period download stats.
Tailored to developer tools that track npm download counts over time, follow registry changes, and revoke legacy user tokens.
Sign in to connect Npm
Sign in to connect an account and start using Npm in your apps.
Example Use Cases
These are example ways Snow can use Npm when building apps with you. This list is meant to show examples, not document every possible capability. Connecting an account does not make Snow run these automatically on its own.
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.
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 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 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).
Tool to get download counts for an npm package over a specified date range. Use when you need historical daily download data.
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.
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.
Retrieves npm registry metadata via meta endpoints. Use 'ping' to verify registry connectivity or 'whoami' to get the authenticated username.
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.
Tool to get a stream of registry changes for replication purposes. Returns CouchDB-style change feed for following registry updates.