diff --git a/README.md b/README.md index cfd7ec0..b943bae 100644 --- a/README.md +++ b/README.md @@ -1 +1,16 @@ # Fetchable + +A standard type interface for request entry-point ES modules. + +Platforms, runtimes, frameworks, and other tools may implement or accept this interface +in order to interoperate with one another. + +```ts +interface Fetchable { + default: { + fetch(request: Request, ...extra: unknown[]): Promise | Response; + }; +} +``` + +See the spec at [fetchable.org](https://fetchable.org) for the full definition and more details.