# npm integration

> The npm public registry: package metadata, search, download counts, publishing, access, orgs and teams, tokens, and webhooks.

- Authentication: apiKey

## Tools (36)

- **Add a user to a team**: Add a user to a team in an org.
- **Add trusted publisher configuration for package**: Configure trusted publisher settings for a package to enable OIDC token exchange.
- **Approve Staged Package Version**: Approve a staged package version and publish it to the npm registry.
- **Create a new team**: Create a new team for an org.
- **Create Hook**: Create a webhook that POSTs to your endpoint when a package, scope or owner changes.
- **Create npm access token**: Create a new npm access token with customizable permissions, scope restrictions, expiration, and CIDR IP range limitations.
- **Delete a team**: Delete a team from a given org.
- **Delete Hook**: Delete a webhook.
- **Delete npm access token**: Delete an npm access token.
- **Delete Staged Package Version**: Remove a staged package version from review.
- **Delete trusted publisher configuration**: Delete a specific trusted publisher configuration for a package by its UUID.
- **Get advisories for packages**: Get advisories for a list of packages and version ranges
- **Get all trusted publisher configurations for package**: Retrieve all trusted publisher configurations for a package.
- **Get Daily Download Counts**: Downloads per day for a package, or all packages, over a period.
- **Get Download Counts**: Total downloads for a package, or all packages, over a period.
- **Get Hook**: Get one webhook by id.
- **Get Package Metadata**: Get the metadata document (packument) for a package, full or abbreviated.
- **Get Package Version**: Get the metadata for one version of a package, or the latest.
- **Get Package Version Status**: Returns the current lifecycle status of an exact package version.
- **Get Staged Package Tarball**: Download the package tarball for a staged package version.
- **Get Staged Package Version**: Retrieve detailed metadata for a single staged package version.
- **Get User Profile**: Get the profile of the authenticated npm user.
- **Get Version Download Counts**: Downloads per version of a package for the last 7 days.
- **Grant access to a package for a team**: Grant a team access to a package.
- **List Hooks**: List the webhooks set up for the authenticated user.
- **List Staged Package Versions**: Retrieve staged package versions that are undergoing automated validation or awaiting maintainer review.
- **Publish Package Version**: Publish a new package version directly to the registry.
- **Remove access to a package for a team**: Remove a team's access to a package.
- **Remove a user from a team**: Remove a user from a team.
- **Remove user membership in an org**: Remove a user's membership in an org.
- **Search Packages**: Search for packages on the registry
- **Set Package Access**: Set package visibility and 2FA/automation policy for a package.
- **Set user membership in an org**: Set a user's membership in an org.
- **Stage Package Version**: Submit a package version to staging for maintainer review.
- **Update Hook**: Change the endpoint and secret of a webhook.
- **Update User Profile**: Change email, profile links, password or two-factor settings of the authenticated user.

Connect npm in General Input: https://www.generalinput.com/apps/npm