npm · Authentication Profile

Npm Authentication

Authentication

npm secures its APIs with http across 2 declared security schemes, as derived from its OpenAPI definitions.

PackagesJavaScriptNode.jsPackage ManagementRegistrySecurity
Methods: http Schemes: 2 OAuth flows: API key in:

Security Schemes

bearerAuth http
scheme: bearer
basicAuth http
scheme: basic

Source

Authentication Profile

Raw ↑
generated: '2026-07-11'
method: derived
source: openapi/npm-hooks-api-openapi.yml, openapi/npm-public-api-openapi.yml
summary:
  types:
  - http
schemes:
- name: bearerAuth
  type: http
  scheme: bearer
  description: npm access token provided as a Bearer token.
  sources:
  - openapi/npm-hooks-api-openapi.yml
  - openapi/npm-public-api-openapi.yml
- name: basicAuth
  type: http
  scheme: basic
  description: Basic authentication using npm username and password.
  sources:
  - openapi/npm-public-api-openapi.yml