// server.ts import {Router} from "@b9g/router"; const router = new Router(); router.route("/kv/:key") .get(async (req, ctx) => { const cache = await self.caches.open("kv"); const cached = await cache.match(ctx.params.key); return cached ?? new Response(null, {status: 404}); }) .put(async (req, ctx) => { const cache = await self.caches.open("kv"); await cache.put(ctx.params.key, new Response(await
Infrastructure as TypeScript Deploy to Cloudflare, AWS, and more with pure TypeScript. Generate support for any API in minutes with AI. const database = await Database("my-database"); const website = await Worker("website", { bindings: { DB: database, }, }); const price = await Price("basic-license", { currency: "usd", unitAmount: 2999, // $29.99 product: "prod_xyz" }); const database = await Data
OpenNext Next.js, unlike Remix, Astro, or the other modern frontends, doesn't have a way to self-host across different platforms. You can run it as a Node.js application, but this doesn't work the same way as it does on Vercel. There have been several attempts to fix this over the years, broadly falling into two categories: open source framework specific implementations, or closed source product s
A full-stack toolkit for Cloudflare Workers. The best parts of D1, R2, Queues, and moreâall in one place.
ãã©ã¦ã¶ã ãã§ãªããéãã©ã¦ã¶ãªJavaScriptï¼JSï¼å¦çç³»ãå¢ãã¦ããã®ã§ãã主è¦ãã©ã¦ã¶ãNode.jsãCloudflare Workersã§ãåãDenoãã¡ã¼ã¹ããªTypeScript/JavaScriptã¢ã¸ã¥ã¼ã«éçºï¼CI/CDãããã£ã¦ã¿ã¾ãããä¸äºä¾ã¨ãã¦å ±æãã¾ãã ã¯ããã« æè¿ãTypeScriptã§ hpke-js ã¨ããã¢ã¸ã¥ã¼ã«ãã¤ããã¾ããã HPKE (Hybrid Public Key Encryption) ã¨ããã®ã¯ããã£ããè¨ãã¨ãå ¬ééµã交æããã£ã¦å ±æéµãã¤ãããå®å ¨ã«End-to-Endæå·åããããªãããã®è¦æ ¼ã§ããããã Web Cryptography API ä¸ã«å®è£ ãããã®APIããµãã¼ãããè¤æ°ã®JSå¦çç³»ï¼ä¸»è¦ãªWebãã©ã¦ã¶ãNode.jsãDenoãCloudflare Workersï¼ã§åä½ä¿è¨¼ããï¼ã¡ããã¨å ¨ç°å¢ã§
ã¡ã³ããã³ã¹
ã©ã³ãã³ã°
ãç¥ãã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}