Skip to main content
Server path: /npm | Type: Application | PCID required: Yes

Tools


npm_create_token

Token create endpoint Parameters:

npm_delete_token

Token delete endpoint Parameters:

npm_get_package

This endpoint responds with the package metadata document, sometimes informally called a “packument” or “doc.json”. Parameters:

npm_get_package_version

This endpoint responds with the package metadata document for a specific version. Parameters:

npm_get_user_profile

User detail endpoint

npm_list_tokens

User’s token list endpoint

npm_search_packages

This endpoint responds with the search result. Special search qualifiers can be provided in the full-text query: - author:bcoe: Show/filter results in which bcoe is the author - maintainer:bcoe: Show/filter results in which bcoe is qualifier as a maintainer - keywords:batman: Show/filter results that have batman in the keywords - separating multiple keywords with - , acts like a logical OR - + acts like a logical AND - ,- can be used to exclude keywords - not:unstable: Exclude packages whose version is < 1.0.0 - not:insecure: Exclude packages that are insecure or have vulnerable dependencies (based on the nsp registry) - is:unstable: Show/filter packages whose version is < 1.0.0 - is:insecure: Show/filter packages that are insecure or have vulnerable dependencies (based on the nsp registry) - boost-exact:false: Do not boost exact matches, defaults to true Note: the values of quality, popularity, and maintenance are normalized into a unit-vector provide values between 0 - 1 for each to modify weightings, e.g., to return results based solely on quality, set quality=1.0, maintenance=0.0, popularity=0.0. Parameters:

npm_update_user_profile

Update user profile endpoint Parameters: