{"ok":true,"site":"jsdelivr","host":"jsdelivr.com","about":"jsDelivr is a free open-source CDN for npm and GitHub. This CLI searches npm packages, lists package versions, files, entrypoints and readmes, and reads CDN usage statistics (per package, version and file, top packages, network, countries, browsers, platforms and proxies) through jsDelivr's public data API and its Algolia search index.","commands":[{"command":"search-packages","summary":"Full-text search of npm packages hosted on jsDelivr (Algolia index), with optional facet filters such as module type, style type or author","params":[{"name":"query","type":"string","required":true,"description":"Search keywords (URL-encode spaces and special characters, e.g. 'date%20picker')"},{"name":"page","type":"number","description":"Zero-based result page","default":0},{"name":"hitsPerPage","type":"number","description":"Results per page","default":10},{"name":"filters","type":"string","description":"Optional Algolia filter expression, URL-encoded. Examples: 'moduleTypes%3Aesm' (ESM only), 'NOT%20styleTypes%3Anone' (CSS/style packages), 'owner.name%3Areact' (by author/owner). Leave empty for no fi"}],"exampleUrl":"https://clify-dev.netlify.app/jsdelivr/search-packages"},{"command":"get-npm-package-info","summary":"Get full npm metadata for a package from the search index: description, latest version, version release dates, npm downloads, jsDelivr hits, repo and owner","params":[{"name":"name","type":"string","required":true,"description":"Exact npm package name"}],"exampleUrl":"https://clify-dev.netlify.app/jsdelivr/get-npm-package-info"},{"command":"list-package-versions","summary":"List all versions and dist-tags of an npm package or GitHub repo hosted on jsDelivr","params":[{"name":"type","type":"string","required":true,"description":"Package source: npm or gh (GitHub)","oneOf":["npm","gh"]},{"name":"name","type":"string","required":true,"description":"npm package name, or 'user/repo' for GitHub"}],"exampleUrl":"https://clify-dev.netlify.app/jsdelivr/list-package-versions"},{"command":"list-package-files","summary":"Get the file tree (names, sizes, SHA-256 hashes) and default file of a specific package version","params":[{"name":"type","type":"string","required":true,"description":"Package source: npm or gh","oneOf":["npm","gh"]},{"name":"name","type":"string","required":true,"description":"npm package name, or 'user/repo' for GitHub"},{"name":"version","type":"string","required":true,"description":"Exact version (from list-package-versions)"}],"exampleUrl":"https://clify-dev.netlify.app/jsdelivr/list-package-files"},{"command":"get-package-entrypoints","summary":"Get the resolved JS/CSS entrypoint files of an npm package version (the file served by the short CDN URL)","params":[{"name":"name","type":"string","required":true,"description":"npm package name"},{"name":"version","type":"string","required":true,"description":"Exact version"}],"exampleUrl":"https://clify-dev.netlify.app/jsdelivr/get-package-entrypoints"},{"command":"get-package-readme","summary":"Get the rendered README (HTML) of an npm package or GitHub repo","params":[{"name":"type","type":"string","required":true,"description":"Package source: npm or gh","oneOf":["npm","gh"]},{"name":"name","type":"string","required":true,"description":"npm package name, or 'user/repo' for GitHub"}],"exampleUrl":"https://clify-dev.netlify.app/jsdelivr/get-package-readme"},{"command":"get-package-stats","summary":"Get CDN hits and bandwidth for a package over a period, with daily breakdown, rank and previous-period comparison","params":[{"name":"type","type":"string","required":true,"description":"Package source: npm or gh","oneOf":["npm","gh"]},{"name":"name","type":"string","required":true,"description":"npm package name, or 'user/repo' for GitHub"},{"name":"period","type":"string","description":"Time period: day, week, month, quarter or year (rolling), s-month/s-quarter/s-year (last calendar period), or a specific period such as 2026-09 or 2026-Q3","default":"month"}],"exampleUrl":"https://clify-dev.netlify.app/jsdelivr/get-package-stats?period=month"},{"command":"get-package-version-stats","summary":"List a package's versions ranked by CDN hits or bandwidth over a period","params":[{"name":"type","type":"string","required":true,"description":"Package source: npm or gh","oneOf":["npm","gh"]},{"name":"name","type":"string","required":true,"description":"npm package name, or 'user/repo' for GitHub"},{"name":"period","type":"string","description":"Time period: day, week, month, quarter, year, s-month, s-quarter, s-year, or e.g. 2026-09","default":"month"},{"name":"by","type":"string","description":"Ranking metric","oneOf":["hits","bandwidth"],"default":"hits"},{"name":"api_limit","type":"number","description":"Results per page (sent to the site as \"limit\"; clify's own --limit only shapes the output)","default":10},{"name":"page","type":"number","description":"1-based page number","default":1}],"exampleUrl":"https://clify-dev.netlify.app/jsdelivr/get-package-version-stats?period=month"},{"command":"get-package-file-stats","summary":"List the files of a specific package version ranked by CDN hits or bandwidth over a period","params":[{"name":"type","type":"string","required":true,"description":"Package source: npm or gh","oneOf":["npm","gh"]},{"name":"name","type":"string","required":true,"description":"npm package name, or 'user/repo' for GitHub"},{"name":"version","type":"string","required":true,"description":"Exact version"},{"name":"period","type":"string","description":"Time period: day, week, month, quarter, year, s-month, s-quarter, s-year, or e.g. 2026-09","default":"month"},{"name":"by","type":"string","description":"Ranking metric","oneOf":["hits","bandwidth"],"default":"hits"},{"name":"api_limit","type":"number","description":"Results per page (sent to the site as \"limit\"; clify's own --limit only shapes the output)","default":10},{"name":"page","type":"number","description":"1-based page number","default":1}],"exampleUrl":"https://clify-dev.netlify.app/jsdelivr/get-package-file-stats?period=quarter"},{"command":"list-top-packages","summary":"List the most-used packages on jsDelivr, ranked by hits or bandwidth, optionally restricted to npm or GitHub","params":[{"name":"type","type":"string","description":"Restrict to npm or gh packages (omit for both)","oneOf":["npm","gh"]},{"name":"period","type":"string","description":"Time period: day, week, month, quarter, year, s-month, s-quarter, s-year, or e.g. 2026-09","default":"month"},{"name":"by","type":"string","description":"Ranking metric","oneOf":["hits","bandwidth"],"default":"hits"},{"name":"api_limit","type":"number","description":"Results per page (sent to the site as \"limit\"; clify's own --limit only shapes the output)","default":10},{"name":"page","type":"number","description":"1-based page number","default":1}],"exampleUrl":"https://clify-dev.netlify.app/jsdelivr/list-top-packages?period=month&by=hits"},{"command":"get-network-stats","summary":"Get total jsDelivr network hits and bandwidth per CDN provider (Cloudflare, Fastly) over a period, optionally for one country","params":[{"name":"period","type":"string","description":"Time period: day, week, month, quarter, year, s-month, s-quarter, s-year, or e.g. 2026-09","default":"month"},{"name":"country","type":"string","description":"ISO 3166-1 alpha-2 country code, e.g. DE"}],"exampleUrl":"https://clify-dev.netlify.app/jsdelivr/get-network-stats?period=month&country=DE"},{"command":"get-network-content-stats","summary":"Get network hits and bandwidth split by content type (packages vs. proxies) with a daily breakdown","params":[{"name":"period","type":"string","description":"Time period: day, week, month, quarter, year, s-month, s-quarter, s-year, or e.g. 2026-09","default":"month"}],"exampleUrl":"https://clify-dev.netlify.app/jsdelivr/get-network-content-stats?period=month"},{"command":"list-network-countries","summary":"Get jsDelivr network hits broken down by country (country code, name, total hits, previous-period hits)","params":[{"name":"period","type":"string","description":"Time period: day, week, month, quarter, year, s-month, s-quarter, s-year, or e.g. 2026-09","default":"month"}],"exampleUrl":"https://clify-dev.netlify.app/jsdelivr/list-network-countries?period=month"},{"command":"list-top-browsers","summary":"List browsers by share of jsDelivr traffic, optionally for one country","params":[{"name":"period","type":"string","description":"Period: s-month, s-quarter, s-year, or a specific period such as 2026-09 or 2026-Q3","default":"s-month"},{"name":"country","type":"string","description":"ISO 3166-1 alpha-2 country code, e.g. DE"},{"name":"api_limit","type":"number","description":"Results per page (sent to the site as \"limit\"; clify's own --limit only shapes the output)","default":10},{"name":"page","type":"number","description":"1-based page number","default":1}],"exampleUrl":"https://clify-dev.netlify.app/jsdelivr/list-top-browsers?period=s-month"},{"command":"list-top-platforms","summary":"List operating systems/platforms by share of jsDelivr traffic, optionally for one country","params":[{"name":"period","type":"string","description":"Period: s-month, s-quarter, s-year, or a specific period such as 2026-09 or 2026-Q3","default":"s-month"},{"name":"country","type":"string","description":"ISO 3166-1 alpha-2 country code, e.g. DE"},{"name":"api_limit","type":"number","description":"Results per page (sent to the site as \"limit\"; clify's own --limit only shapes the output)","default":10},{"name":"page","type":"number","description":"1-based page number","default":1}],"exampleUrl":"https://clify-dev.netlify.app/jsdelivr/list-top-platforms?period=s-month"},{"command":"get-proxy-stats","summary":"Get CDN hits and bandwidth for one of jsDelivr's proxy endpoints (e.g. pyodide, fontsource, ghost) over a period","params":[{"name":"name","type":"string","required":true,"description":"Proxy name","oneOf":["atlas","cocoa","fontsource","ghost","musescore","pyodide","yocto-sstate"]},{"name":"period","type":"string","description":"Time period: day, week, month, quarter, year, s-month, s-quarter, s-year, or e.g. 2026-09","default":"month"}],"exampleUrl":"https://clify-dev.netlify.app/jsdelivr/get-proxy-stats?period=month"},{"command":"list-stats-periods","summary":"List the fixed statistics periods available (calendar months/quarters/years such as 2026-09 or 2026-Q3) with links to their stats","params":[],"exampleUrl":"https://clify-dev.netlify.app/jsdelivr/list-stats-periods"}]}