0.0.5 • Published 3 months ago

@slipher/generic-adapter v0.0.5

Weekly downloads
-
License
MIT
Repository
-
Last release
3 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

3 months ago

0.0.2

6 months ago

0.0.5

3 months ago

0.0.4

3 months ago

0.0.1

11 months ago