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

x/sane_fmt/preopens.ts>preopens

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