UNPKG

wordpress-playground-handler

Version:

A Node.js library for creating and managing WordPress Playground instances with PHP request handling capabilities. Optimized for Node.js runtime environments.

20 lines (19 loc) 667 B
/** * Serverless-optimized version that loads dependencies dynamically * This version avoids bundling large WASM files in serverless functions */ export interface ServerlessPlaygroundOptions { blueprintPath?: string; blueprint?: any; mountPaths?: { databasePath?: string; muPluginsPath?: string; }; } export declare class ServerlessPlaygroundHandler { private static instance; static getInstance(options?: ServerlessPlaygroundOptions): Promise<any>; private static createInstance; static handleRequest(request: any, options?: ServerlessPlaygroundOptions): Promise<any>; } export default ServerlessPlaygroundHandler;