UNPKG favicon

UNPKG Fast global CDN for everything on npm

UNPKG
UNPKG screenshot

What is UNPKG?

UNPKG serves as a content delivery network specifically designed for npm packages, allowing developers to access and load any file from npm using simple URL patterns. It supports various package versioning formats including specific versions, semver ranges, and npm tags, with automatic resolution to the latest version when none is specified.

The platform enables no-build applications by allowing direct loading of JavaScript modules in HTML through import maps, making it ideal for prototypes and small projects. It also provides a metadata API for retrieving file information and leverages Cloudflare's global edge network for high-performance caching and low-latency delivery worldwide.

Features

  • Package Loading: Access any npm package file via URL patterns with version support
  • No-Build Apps: Load JavaScript modules directly in HTML using import maps without build steps
  • Metadata API: Retrieve file information including path, size, type, and integrity values
  • Global CDN: Leverages Cloudflare's edge network for fast, worldwide content delivery
  • Version Support: Handles specific versions, semver ranges, npm tags, and automatic latest resolution

Use Cases

  • Loading JavaScript libraries in web projects without bundlers
  • Creating prototypes and small applications without build pipelines
  • Accessing npm package files directly in browser-based development
  • Retrieving package metadata for development tools
  • Serving frontend dependencies in no-build applications

Related Tools:

Blogs:

  • Best text to speech AI tools

    Best text to speech AI tools

    Text-to-speech (TTS) AI tools are designed to convert written or text-based content into natural-sounding spoken audio. These tools utilize various deep learning and neural network architectures to generate human-like speech from textual input.

  • Chat with PDF AI Tools

    Chat with PDF AI Tools

    Easily interact with your PDF documents using our advanced AI-powered tool. Whether you're reading lengthy reports, research papers, contracts, or eBooks, our platform lets you chat directly with your PDF files, ask questions, extract insights, and get summaries in real-time.

  • Best AI Tools For Startups

    Best AI Tools For Startups

    we've compiled a straightforward list of user-friendly AI tools designed to give startups a boost. Discover practical solutions to streamline everyday tasks, enhance productivity, and gain valuable insights without the need for a tech expert. Learn where and how these tools can be applied in your startup journey, from automating repetitive tasks to unlocking powerful data analysis. Join us as we explore the features that make these AI tools accessible and beneficial for startups in various industries. Elevate your business with technology that works for you!

  • Best ai tools for Twitter Growth

    Best ai tools for Twitter Growth

    The best AI tools for Twitter's growth are designed to enhance user engagement, increase followers, and optimize content strategy on the platform. These tools utilize artificial intelligence algorithms to analyze Twitter trends, identify relevant hashtags, suggest optimal posting times, and even curate personalized content.

Didn't find tool you were looking for?

Be as detailed as possible for better results