Npm
Overview
SLUG: NPM
Description
npm is the default package manager for JavaScript and Node.js, facilitating the sharing and reuse of code, managing dependencies, and streamlining project workflows.
Authentication Details
API Key
Connecting to Npm
Create an auth config
Use the dashboard to create an auth config for the Npm toolkit. This allows you to connect multiple Npm accounts to Composio for agents to use.
Create and Get auth config ID
Click “Create Npm Auth Config”. After creation, copy the displayed ID starting with ac_
. This is your auth config ID. This is not a sensitive ID — you can save it in environment variables or a database.
This ID will be used to create connections to the toolkit for a given user.
Connect Your Account
Using API Key
Tools
Executing tools
To prototype you can execute some tools to see the responses and working on the Npm toolkit’s playground
OpenAI (Python)
Anthropic (TypeScript)
Google (Python)
Vercel (TypeScript)
Tool List
NPM_GET_DOWNLOAD_COUNTS_POINT
Tool Name: Get NPM Download Counts Point
Description
Action Parameters
Action Response
NPM_GET_DOWNLOAD_COUNTS_RANGE
Tool Name: Get NPM Download Counts Range
Description
Action Parameters
Action Response
NPM_GET_DOWNLOAD_COUNTS_RANGE_PACKAGE
Tool Name: Get NPM Package Download Counts Over Date Range
Description
Action Parameters
Action Response
NPM_GET_REGISTRY_META
Tool Name: Get NPM Registry Meta
Description
Action Parameters
Action Response
NPM_NPM_REGISTRY_GET_DOWNLOAD_COUNTS_POINT_PACKAGE
Tool Name: Get NPM Package Download Counts
Description
Action Parameters
Action Response
NPM_NPM_REGISTRY_GET_PACKAGE
Tool Name: Get NPM Package Metadata
Description
Action Parameters
Action Response
NPM_NPM_REGISTRY_GET_PACKAGE_VERSION
Tool Name: Get NPM Package Version Metadata
Description
Action Parameters
Action Response
NPM_NPM_REGISTRY_GET_ROOT
Tool Name: Get NPM Registry Root Metadata
Description
Action Parameters
Action Response
NPM_NPM_REGISTRY_SEARCH_PACKAGES
Tool Name: Search NPM Packages
Description
Action Parameters
Action Response