Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

std/ini/parse.ts

Deno standard library
Go to Latest
File
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
import { IniMap, ParseOptions } from "./ini_map.ts";/** Parse an INI config string into an object. Provide formatting options to override the default assignment operator. */export function parse( text: string, options?: ParseOptions,): Record<string, unknown | Record<string, unknown>> { return IniMap.from(text, options).toObject();}