Skip to content
This repository has been archived by the owner on Jun 18, 2020. It is now read-only.

Latest commit

 

History

History
30 lines (23 loc) · 1.11 KB

README.md

File metadata and controls

30 lines (23 loc) · 1.11 KB

🧺 Denorg X

Denorg X (https://x.den.org.in) is a mirror of deno.land/x for third-party Deno modules. It's served from GitHub Pages with a Cloudflare CDN.

Build site

⚠️ Known caveats

💡 How it works

  1. We fetch all packages from Deno's database every day
  2. We download them and serve them from the gh-pages branch
  3. We cache them for 24 hours, both in your browser and on our CDN:
  • Page rule: x.den.org.in/*
  • Browser Cache TTL: 24 hours
  • Cache Level: Cache Everything
  • Edge Cache TTL: 24 hours
  1. You import a package from its URL: https://x.den.org.in/abc/mod.ts
import { Application } from "https://x.den.org.in/abc/mod.ts"
const app = new Application();
app
  .get("/hello", (c) => {
    return "Hello, Abc!";
  })
  .start({ port: 8080 });