mirror of https://github.com/186526/handlers.js
12 lines
364 B
TypeScript
12 lines
364 B
TypeScript
import { NodePlatformAdapter } from "./node";
|
|
import { SWPlatformAdapter } from "./serviceworker";
|
|
import { DenoPlatformAdapter } from "./deno";
|
|
|
|
export const platformAdapaterMapping = {
|
|
"Node.js": NodePlatformAdapter,
|
|
"Service Worker": SWPlatformAdapter,
|
|
"Deno": DenoPlatformAdapter,
|
|
};
|
|
|
|
export { NodePlatformAdapter, SWPlatformAdapter, DenoPlatformAdapter };
|