0.0.5 • Published 7 months ago

@slipher/generic-adapter v0.0.5

Weekly downloads
-
License
MIT
Repository
-
Last release
7 months ago
import { GenericAdapter } from "@slipher/generic-adapter";
import { HttpClient } from "seyfert";

const client = new HttpClient(); // HttpClient, Client, or WorkerClient
const adapter = new GenericAdapter(client);

await adapter.start();
await client.start();

export default {
	fetch(req: Request) {
		return adapter.fetch(req);
	},
};
0.0.3

7 months ago

0.0.2

11 months ago

0.0.5

7 months ago

0.0.4

7 months ago

0.0.1

1 year ago