Lab · cdnjs

Find a library. Copy a pinned snippet.

Same job as cdnjs.com, scoped for how I actually use it: search the catalog, then copy a versioned URL with an SRI hash. This page never executes CDN JavaScript. It only talks to api.cdnjs.com.

Catalog

Queries the public cdnjs API. Thousands of front-end libraries, no account.

Integrity

Snippets include integrity and crossorigin when cdnjs has a hash.

Trust boundary

Results are rendered as text. Nothing from cdnjs.cloudflare.com is loaded into this document.

Starting points

Type a library name, or pick a starting point.

Empty on purpose until you search

cdnjs is a search box first. This page follows that: no default library is injected, so a forgotten include cannot change the consulting site.

Need this kind of SRI lookup wired into a build? That is contract and ad-hoc work I take.

Data from the cdnjs API. cdnjs is operated by Cloudflare, not by Input Drive Security.

Back to tools