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

std/ini/mod.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
Re-export
import { IniMap } from "https://deno.land/std@0.217.0/ini/mod.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