{"id":51071823,"url":"https://github.com/cdnjs/metadata-worker","last_synced_at":"2026-06-23T11:02:16.547Z","repository":{"id":52677312,"uuid":"329424317","full_name":"cdnjs/metadata-worker","owner":"cdnjs","description":"The edge worker that provides KV metadata to the cdnjs API","archived":false,"fork":false,"pushed_at":"2026-06-11T09:26:19.000Z","size":32,"stargazers_count":10,"open_issues_count":0,"forks_count":2,"subscribers_count":8,"default_branch":"master","last_synced_at":"2026-06-11T11:14:05.276Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cdnjs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-01-13T20:30:50.000Z","updated_at":"2026-06-11T09:26:27.000Z","dependencies_parsed_at":"2024-11-06T08:35:25.251Z","dependency_job_id":null,"html_url":"https://github.com/cdnjs/metadata-worker","commit_stats":{"total_commits":7,"total_committers":2,"mean_commits":3.5,"dds":0.1428571428571429,"last_synced_commit":"8a7a7db1f03b060eaccee19d8308e81a36fbc081"},"previous_names":["cdnjs/metadata-worker"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cdnjs/metadata-worker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdnjs%2Fmetadata-worker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdnjs%2Fmetadata-worker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdnjs%2Fmetadata-worker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdnjs%2Fmetadata-worker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cdnjs","download_url":"https://codeload.github.com/cdnjs/metadata-worker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdnjs%2Fmetadata-worker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34686726,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-23T02:00:07.161Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-06-23T11:02:14.722Z","updated_at":"2026-06-23T11:02:16.539Z","avatar_url":"https://github.com/cdnjs.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n    \u003ca href=\"https://cdnjs.com\"\u003e\u003cimg src=\"https://raw.githubusercontent.com/cdnjs/brand/master/logo/standard/dark-512.png\" width=\"175px\" alt=\"\u003c cdnjs \u003e\"\u003e\u003c/a\u003e\n\u003c/h1\u003e\n\n\u003ch3 align=\"center\"\u003eThe #1 free and open source CDN built to make life easier for developers.\u003c/h3\u003e\n\n---\n\n## Introduction\n\nThis is the code that powers metadata.speedcdnjs.com.\nIt's an internal API that is NOT meant to be used directly. See [API] instead.\n\nThe API is implemented as a Cloudflare Worker and uses several KV namespaces that are populated from the [cdnjs bot].\n\n## Contributing\n\n### KV namespaces\n\nAs listed in the wrangler.toml:\n\n- `CDNJS_PACKAGES`: A metadata entry for each of the ~4K packages containing the same properties as the legacy package.json files in cdnjs/cdnjs's GitHub repo.\n\nEach entry contains top-level metadata such as package name, author, description, how to autoupdate (from npm or git), etc.\n\nThis metadata is the same as the files in cdnjs/packages, except it contains a few additional properties such as the latest version.\n\n- `CDNJS_VERSIONS`: A metadata entry for each of the ~120K versions.\n\nEach entry contains the list of uncompressed file names for that particular version. This list includes the any autogenerated files by the bot, such as minified JavaScript (.min.js) and CSS (.min.css).\n\n- `CDNJS_AGGREGATED_METADATA`: A metadata entry for each package, consisting of the top-level package metadata from CDNJS_PACKAGES and all version metadata belonging to the respective package in CDNJS_VERSIONS.\n\nTo avoid the KV value limit, each value is compressed with gzip.\n\n- `CDNJS_SRIS`: SRIs for each of the uncompressed JavaScript and CSS files in cdnjs.\n\nEach SRI is a sha512 hash of each file's uncompressed content, and it is stored in the KV metadata associated with each entry. There is no KV value.\n\nBy listing this namespace by prefix, we can easily fetch the SRIs in bulks of 1000.\n\nThis will eventually replace cdnjs/SRIs.\n\n### Deployment\n\nDeployment and testing is managed by Cloudflare for now.\n\n## License\n\nEach library hosted on cdnjs is released under its own license. This cdnjs repository is published under [MIT license](LICENSE).\n\n[API]: https://cdnjs.com/api\n[cdnjs bot]: https://github.com/cdnjs/tools\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcdnjs%2Fmetadata-worker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcdnjs%2Fmetadata-worker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcdnjs%2Fmetadata-worker/lists"}