@stone-js/fetch-adapter
v0.8.15
Published
Web-standard (WinterCG Fetch) adapter for Stone.js. One adapter, every edge/serverless runtime: Cloudflare Workers, Deno, Bun, Vercel Edge, Netlify Edge — build once, deploy anywhere.
Maintainers
Readme
Stone.js · Fetch adapter
Web-standard (WinterCG Fetch) adapter for Stone.js. One adapter, every edge/serverless runtime: Cloudflare Workers, Deno, Bun, Vercel Edge, Netlify Edge — build once, deploy anywhere.
Part of Stone.js, the reference implementation of the Continuum Architecture: write your domain once, and the context (runtime, protocol, caller) applies to it at run time.
Install
npm i @stone-js/fetch-adapterUsage
import { Fetch } from '@stone-js/fetch-adapter'
import { StoneApp } from '@stone-js/core'
import { Routing } from '@stone-js/router'
// Web-standard (WinterCG Fetch): the same app runs on any edge/serverless runtime.
@Fetch({ default: true })
@Routing()
@StoneApp({ name: 'my-app' })
export class Application {}Documentation
Full documentation: stonejs.dev/docs/adapters/fetch.
License
MIT © Evens Pierre ("Mr. Stone") and the Stone.js contributors.
