Module

x/lume/deps/outdent.ts>Options

🔥 Static site generator for Deno 🦕
Very Popular
Latest
interface Options
import { type Options } from "https://dotland.deno.dev/x/lume@v2.4.2/deps/outdent.ts";

Properties

optional
trimLeadingNewline: boolean
optional
trimTrailingNewline: boolean
optional
newline: string | null

Normalize all newlines in the template literal to this value.

If null, newlines are left untouched.

Newlines that get normalized are '\r\n', '\r', and '\n'.

Newlines within interpolated values are never normalized.

Although intended for normalizing to '\n' or '\r\n', you can also set to any string; for example ' '.