jsdelivr/data.jsdelivr.com
关于
The public jsDelivr API. Get npm packages, files, versions, entry points, as well as their CDN URLs and download stats.
科学与工程实测星标增长
- 24小时
- 0
- 7天
- +1
- 15天
- +1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文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.
探索相关项目
加载中…