Usage

import * as saneFmt from "https://deno.land/x/sane_fmt@0.11.0/index.ts";

§Variables

base64

Base64 representation of sane-fmt wasi executable

createContext

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

createContextOptions

Create an object of options necessary to create a wasi Context

default
DEFAULT_WINDOWS_DEVICE_MAPPER

Default device mapper to use

fromPosixPath

Convert a POSIX path to a WASI compatible path

fromWindowsPosixPath

Convert a POSIX or Windows path to a WASI compatible path

getWasiPath

Convert a POSIX or Windows path to a WASI compatible path

PREOPENS_ENV_NAME

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

u8v

Code of the sane-fmt program

version
WINDOWS_ERROR_MESSAGE

§Functions

default

Create a preopens object

fromWindowsPath

Convert a Windows path to a WASI compatible path

preopens

Create a preopens object

run

Run sane-fmt wasi program

§Interfaces

WindowsDeviceMapper

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

§Type Aliases

DenoAPIs

Partial Deno-like APIs

UppercaseAlphabet

Type of all uppercase alphabet letters