Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/live/deps.ts>transform

Open-Source web editor based on Preact, Tailwind and TypeScript. The other side of code.
Go to Latest
function transform
import { transform } from "https://deno.land/x/live@1.60.21/deps.ts";

Note: this interface currently does not do actual async work, only provides a corresponding async interfaces to the @swc/core's interface.

Parameters

code: string | Program
optional
options: Options
optional
experimental_plugin_bytes_resolver: any

Returns

Promise<Output>