Skip to main content

@std/ini@0.215.0

latest
Works with
It is unknown whether this package works with Browsers, Deno, Node.js, Cloudflare Workers, Bun
It is unknown whether this package works with Browsers
It is unknown whether this package works with Deno
It is unknown whether this package works with Node.js
It is unknown whether this package works with Cloudflare Workers
It is unknown whether this package works with Bun
JSR Score76%
Published2 years ago (0.215.0)
interface FormattingOptions

Options for providing formatting marks.

Properties

The character used to assign a value to a key; defaults to '='.

optional
lineBreak: "\n" | "\r\n"

Character(s) used to break lines in the config file; defaults to '\n'. Ignored on parse.

optional
commentChar: "#" | ";" | "//"

Mark to use for setting comments; expects '#', ';', '//', defaults to '#' unless another mark is found.

Use a plain assignment char or pad with spaces; defaults to false. Ignored on parse.

Filter duplicate keys from INI string output; defaults to false to preserve data parity.

Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

Add Package

deno add jsr:@std/ini

Import symbol

import { type FormattingOptions } from "@std/ini/ini_map";
or

Import directly with a jsr specifier

import { type FormattingOptions } from "jsr:@std/ini/ini_map";