pichillilorenzo / npm-registry-open-api

NPM Registry Open API Specification

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NPM Registry Open API

license Donate to this project using Paypal

Servers:

Paths implemented:

  • GET /
  • GET /-/all
  • GET /{packageName}
  • GET /{packageName}/{version}
  • GET /-/v1/search
  • GET /downloads/point/{period}
  • GET /downloads/point/{period}/{packageName}
  • GET /downloads/range/{period}
  • GET /downloads/range/{period}/{packageName}
  • GET /versions/{packageName}/last-week
  • PUT /-/user/org.couchdb.user:{user}
  • GET, POST /-/npm/v1/user
  • GET, POST /-/npm/v1/tokens
  • DELETE /-/npm/v1/tokens/token/{uuid}
  • DELETE /-/user/token/{token}
  • GET /-/npm/v1/hooks
  • POST /-/npm/v1/hooks/hook
  • GET, PUT, DELETE /-/npm/v1/hooks/hook/{id}

Open API Spec Download

You can download the YAML file using jsDelivr: https://cdn.jsdelivr.net/gh/pichillilorenzo/npm-registry-open-api@main/npm-registry-open-api.yaml

It is recommended to replace main with a release tag.

Usage

Using the official @openapitools/openapi-generator-cli generator:

openapi-generator-cli generate -i https://cdn.jsdelivr.net/gh/pichillilorenzo/npm-registry-open-api@main/npm-registry-open-api.yaml -g typescript-fetch

License

Released under the ISC license.

About

NPM Registry Open API Specification

License:ISC License