Skip to main content
fastCRW Pergamon
Development

cdnjs

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.

Showing the catalogue

1Request

Name fragment to search for.

Comma-separated fields to return, e.g. name,version,description.

1 credit⌘ ↵
Code follows the fields above
curl "https://api.fastcrw.com/v1/data/cdnjs/libraries" \
  -H "Authorization: Bearer $FASTCRW_API_KEY"

2Response example

A sample shape. Press Run to see live data from cdnjs.

JSON
{
  "results": [
    {
      "name": "react-is",
      "latest": "https://cdnjs.cloudflare.com/ajax/libs/react-is/19.2.5/cjs/react-is.production.min.js"
    },
    {
      "name": "react-dom",
      "latest": "https://cdnjs.cloudflare.com/ajax/libs/react-dom/19.3.1/cjs/react-dom.production.min.js"
    },
    {
      "name": "react",
      "latest": "https://cdnjs.cloudflare.com/ajax/libs/react/19.3.1/cjs/react.production.min.js"
    },
    {
      "name": "vue",
      "latest": "https://cdnjs.cloudflare.com/ajax/libs/vue/3.5.44/vue.global.js"
    },
    {
      "name": "twitter-bootstrap",
      "latest": "https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/5.3.8/js/bootstrap.min.js"
    },
    {
      "name": "bootstrap",
      "latest": "https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.3.8/js/bootstrap.min.js"
    },
    {
      "name": "create-react-class",
      "latest": "https://cdnjs.cloudflare.com/ajax/libs/create-react-class/15.7.0/create-react-class.min.js"
    },
    {
      "name": "three.js",
      "latest": "https://cdnjs.cloudflare.com/ajax/libs/three.js/0.186.1/three.tsl.js"
    },
    {
      "name": "typescript",
      "latest": "https://cdnjs.cloudflare.com/ajax/libs/typescript/5.9.3/typescript.min.js"
    },
    {
      "name": "axios",
      "latest": "https://cdnjs.cloudflare.com/ajax/libs/axios/1.20.0/axios.min.js"
    },
    "… 4606 more items"
  ],
  "total": 4616,
  "available": 4616
}

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

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.

Ask with this source

A prompt for your agent that names this source and how to call it through the crw MCP.

  • Library search

    Use cdnjs (cdnjs) from fastCRW Pergamon, capability "Library search" (libraries). You need to find a JavaScript or CSS library and its current version on the cdnjs CDN. Example options: search=react, fields=name,version,description, limit=10. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "cdnjs" and capability "libraries". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>

  • Library detail

    Use cdnjs (cdnjs) from fastCRW Pergamon, capability "Library detail" (library). You know a library name and need its versions and file hashes before pinning a CDN URL. Example options: name=jquery, fields=name,version,versions. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "cdnjs" and capability "library". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>