One interface for everything on npm. All you need is the package name.
Supported by all modern browsers. Leverage modern ESM to import any npm package directly in your browser.
Ship faster code when possible. Skypack only polyfills & transpiles for the old browsers that need it.
Default-on caching. Packages load once and cache forever, no matter how often your site changes.
Skypack is public CDN story, redesigned for the modern age. Load your third-party, open source packages directly from Skypack's global delivery network for improved performance and caching without giving up your favorite build tools, bundlers, and hosting services.
Your mileage will vary based on how your site is built and which dependencies you are currently using, but in some cases we've seen site load times (time to first byte) drop by 40%.
Skypack isn't magic. We just optimize 90% of your web code so that you don't have to.
Building with Skypack is like having your own personal web performance team, bringing best practices and optimizations to the code that makes up 90% of your website. Skypack automatically supports features like:
Skypack's goal is to work no matter how your site is built or where you host it. We're still working on a full ecosystem of bundler plugins and guides to help you get started. Until then, the best way to use Skypack is directly via ESM import URLs in your code. Check out our docs for details.
Once official bundler plugins are available, Skypack will be as easy as adding a single, one-line plugin to your current build configuration.
Use Skypack using the following methods: