gpujs / gpu.js

GPU Accelerated JavaScript
https://gpu.rocks
MIT License
15.1k stars 654 forks source link

Add Skypack to README #631

Open FredKSchott opened 4 years ago

FredKSchott commented 4 years ago

Skypack is a popular CDN for importing packages directly in the browser with ESM import syntax. For a lot of users, this syntax is more explicit and more familiar than the older, implicit script tag.

I added a full import snippet here for easier copy-pasting, but also happy to replace with just the URL.

You can also run this quickly in your browser devtools via: const pkg = await import('https://cdn.skypack.dev/gpu.js');