Skip to main content
Module

x/sane_fmt/index.ts>default

Opinionated code formatter for TypeScript and JavaScript
Go to Latest
variable default
import { default } from "https://deno.land/x/sane_fmt@0.18.0/index.ts";

Create a wasi Context whose exports can be imported by the sane-fmt program

type

() => unknown

type

string

type

"0.18.0"

type

PathConverter
function default
import { default } from "https://deno.land/x/sane_fmt@0.18.0/index.ts";

Create a preopens object

Parameters

args: readonly string[]

CLI arguments

optional
env: string

Value of SANE_FMT_DENO_PREOPENS environment variable

Returns

Promise<Record<string, string>>

Promise that resolves to a preopens object