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

x/sane_fmt/index.ts>preopens

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