UNPKG

bun-framework-react

Version:

React framework integration with RSC, for the Bun Rendering API

20 lines (16 loc) 474 B
import type { SSRManifest } from "bun:app/server"; import type { Readable } from "node:stream"; export interface Manifest { moduleMap: SSRManifest; moduleLoading?: ModuleLoading; } export interface ModuleLoading { prefix: string; crossOrigin?: string; } export interface Options { encodeFormAction?: any; findSourceMapURL?: any; environmentName?: string; } export function createFromNodeStream<T = any>(readable: Readable, manifest?: Manifest): Promise<T>;