Skip to main content
All providers

cdnjs

Development

api.cdnjs.com

The cdnjs library catalogue: every hosted front-end library with its versions, file lists, SRI hashes and CDN URLs, maintained by Cloudflare and the cdnjs community.

Capabilities (2)

GET /v1/data/cdnjs/libraries1 credit

Matching front-end libraries with name, latest version, description, repository and SRI hashes; 50+ MB unfiltered, so use search or fields.

search?fields?limit?
GET /v1/data/cdnjs/library1 credit

One library's full record: all versions, every file path with size and SRI hash, licence and repository.

namefields?

Licence

The cdnjs site says the project is MIT licensed and the API is free to use. That MIT licence covers the cdnjs SOFTWARE and catalogue metadata; each hosted library carries its own licence, recorded per library. No separate data licence beyond MIT is stated.

https://github.com/cdnjs/cdnjs/blob/master/LICENSE

Attribution

Display this wherever you show the data. It arrives on every response as provenance.attribution_text.

Source: cdnjs (cdnjs.com), maintained by Cloudflare and the cdnjs community.

Cache: up to 3600s