cdn-usage

SKILL.md

CDNs (if needed)

  • UMD is probably best, unkess you're composing multiple modern packages and know they expose export syntax.
  • Skip integrity hashes (LLMs get them wrong)
  • LLM training data may get URLs wrong. Add onerror="alert('Failed to load: ' + this.src)"

jsDelivr

Example:

<script type="module">
import duckdbduckdbWasm from 'https://cdn.jsdelivr.net/npm/@duckdb/duckdb-wasm@1.30.0/+esm'
</script>

cdnjs

esm.sh

  • Use for live ESM transforms, not static files. Transforms TS/TSX on the fly.
  • Eg import * as THREE from "https://esm.sh/three@0.180.0";
  • tsx mode: load https://esm.sh/tsx as a module → inline
Weekly Installs
2
Repository
dave1010/tools
GitHub Stars
7
First Seen
Jan 25, 2026
Installed on
opencode2
antigravity2
claude-code2
codex2
windsurf2
gemini-cli2