Skip to main content
Module

x/dprint/mod.ts

JS formatter for dprint Wasm plugins.
Latest
import * as dprint from "https://deno.land/x/dprint@0.3.0/mod.ts";

Functions

Creates a formatter from the specified wasm module bytes.

Creates a formatter from the specified wasm instance.

Creates host for host formatting.

Creates a formatter from the specified streaming source.

Interfaces

A diagnostic indicating a problem with the specified configuration.

Formats code.

Configuration specified for use across plugins.

Information about a plugin.