StringifyOptions

import { StringifyOptions } from "jsr:@ende/ini";

interface

interface StringifyOptions

Options for stringify.

Properties

lineBreak

lineBreak?: "\n" | "\r\n" | "\r"

Character(s) used to break lines in the config file.

Default: "\n"

pretty

pretty?: boolean

Use a plain assignment char or pad with spaces.

Default: false

replacer

replacer?: ReplacerFunction

Provide custom string conversion for the value in a key/value pair. Similar to the replacer function in JSON.stringify.

Source