Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

std/ini/ini_map.ts>IniMap.from

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
method IniMap.from
import { IniMap } from "https://deno.land/std@0.211.0/ini/ini_map.ts";

Create an IniMap from an INI string.

Parameters

input: string
optional
options: ParseOptions & FormattingOptions

Create an IniMap from a plain object.

Parameters

input: Record<string, any>
optional
formatting: FormattingOptions