deno.land / std@0.224.0 / ini / parse.ts

نووسراو ببینە
1
2
3
4
5
6
7
8
9
10
11
12
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.// This module is browser compatible.
import { IniMap, type 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();}
std

Version Info

Tagged at
3 weeks ago