Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/alexvcasillas/cratebox

A global, fast content delivery network for NPM
https://github.com/alexvcasillas/cratebox

architecture cdn cloudflare nextjs npm react typescript vercel

Last synced: 5 days ago
JSON representation

A global, fast content delivery network for NPM

Awesome Lists containing this project

README

        

![Cratebox.io Logo](https://github.com/alexvcasillas/cratebox/blob/main/public/cratebox-logo.svg)

# 📦 Cratebox

```
cratebox.io/:package@:version/:file
```

## Cratebox.io is a global, fast content delivery network for NPM

Cratebox is a rapid and widespread content delivery network that caters to all of NPM's offerings. It enables you to promptly and effortlessly retrieve any file from any package by employing a URL.

## Examples

If you would like to have the 18.2.0 react production package, you just need to use the following URL:

https://cratebox.io/[email protected]/umd/react.production.min.js

### Including a served file in your application

A simple example about how you can include a library server by Cratebox.io into your HTML file.

```html


Sandbox






```

Here's a CodeSandbox link for the above example 👉 https://codesandbox.io/s/cratebox-io-simple-serve-example-lx4dbl