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.14.0/index.ts";

Code of the sane-fmt program

type

() => unknown

type

PathConverter

type

"0.14.0"

type

string
function default
import { default } from "https://deno.land/x/sane_fmt@0.14.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