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

x/sane_fmt/index.ts

Opinionated code formatter for TypeScript and JavaScript
Go to Latest
import * as saneFmt from "https://deno.land/x/sane_fmt@0.13.0/index.ts";

Variables

Base64 representation of sane-fmt wasi executable

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

Create an object of options necessary to create a wasi Context

Code of the sane-fmt program

Default device mapper to use

Convert a POSIX path to a WASI compatible path

Convert a POSIX or Windows path to a WASI compatible path

Convert a POSIX or Windows path to a WASI compatible path

Name of the environment variable that forces preopens. It uses PATH-like syntax.

Code of the sane-fmt program

Functions

Create a preopens object

Convert a Windows path to a WASI compatible path

Create a preopens object

Run sane-fmt wasi program

Interfaces

Functions resolve a WASI compatible path prefix from a Windows device letter

Type Aliases

Partial Deno-like APIs

Type of all uppercase alphabet letters