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.

4 lines (3 loc) 295 B
import { PHPRequest, PHPRequestHandler, PHPResponse } from "@php-wasm/universal"; export declare const requestFollowRedirects: (handler: PHPRequestHandler, request: PHPRequest) => Promise<PHPResponse>; export declare function fetchFileAsFileObject(url: string, fileName: string): Promise<File>;