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

x/sane_fmt/preopens.ts>default

Opinionated code formatter for TypeScript and JavaScript
Go to Latest
function default
import { default } from "https://deno.land/x/sane_fmt@0.18.0/preopens.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