Unpkg
unpkg.coRank Trend
Ranking history over time.
About Unpkg
UNPKG is a global content delivery network that allows users to quickly load any file from npm packages using a simple URL structure. It supports various versioning options and provides easy access to package files for frontend development.
Load npm packages quickly and easily using a content delivery network.
What You Can Do
- Access any npm package file via URL
- Use versioning and semver ranges
- Browse directory listings of package files
- Load packages directly in HTML scripts
- Resolve files based on package defaults
Frequently Asked Questions
What is UNPKG?
UNPKG is a content delivery network for loading files from npm packages quickly and efficiently.
How do I use UNPKG?
You can use UNPKG by constructing a URL in the format unpkg.com/:package@:version/:file to access specific files.
Can I load the latest version of a package?
Yes, if you do not specify a version in the URL, UNPKG will default to the latest version of the package.
Is there a way to browse all files in a package?
Yes, by adding a trailing slash to the package URL, you can view a listing of all files in that package.
Does UNPKG support version ranges?
Yes, UNPKG supports valid semver ranges and npm tags for loading different versions of packages.