Skip to content
프로젝트

소개

The public jsDelivr API. Get npm packages, files, versions, entry points, as well as their CDN URLs and download stats.

과학 및 공학

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
+1
in 15 days
+1
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

jsDelivr API

The public jsDelivr API provides package metadata for npm and GitHub, including versions, files, and npm entry points. It also provides jsDelivr usage statistics and allows looking up CDN files by their hashes.

Usage

The API is free to use and imposes no rate limits. However, if you plan to make 100+ RPM for longer periods of time, you should contact us first. Please note that usage statistics are available with a 48 hour delay.

Let us know how you use this API

If you create a tool/plugin/etc. which uses this API, please include a link to your tool in the User-Agent header so that we can learn more about how this API is being used.

Restrictions

Neither jsDelivr CDN nor this API supports packages larger than 50 MB for GitHub and 150 MB for npm. Trying to get a list of files using the API will result in a 403 response.

Endpoints

See the documentation or download the OpenAPI spec file.

Example use cases

  • CodeSandbox - resolves dependencies and loads their files in a browser-based development environment.
  • TypeScript Playground - locates TypeScript declaration files for imported packages.
  • Shields.io - generates download statistics badges for npm and GitHub projects.
  • Microsoft Library Manager - resolves dependency versions and selects individual files for installation.
  • Algolia npm-search - enriches package search with version, file, and popularity metadata.
  • Drupal Bootstrap - discovers package versions for CDN-hosted assets.

FAQ

Search npm packages

There is no search endpoint in this API because there are already two other APIs for that:

Related projects

Contributing

Refer to CONTRIBUTING.md for more information.

관련 프로젝트 살펴보기

불러오는 중…