Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
function transformSync
import { transformSync } from "https://deno.land/x/esbuild@v0.18.10/wasm.d.ts";

A synchronous version of "transform".

  • Works in node: yes
  • Works in browser: no

Documentation: https://esbuild.github.io/api/#transform

Parameters

input: string | Uint8Array
optional
options: SameShape<TransformOptions, T>