class IniMap
Class implementation for fine control of INI data structures.
Constructors
new IniMap(formatting?: FormattingOptions)Static Methods
from(input: string,options?: ParseOptions & FormattingOptions): IniMapCreate an IniMap from an INI string.
from(input: Record<string, any>,formatting?: FormattingOptions): IniMapCreate an IniMap from a plain object.
Properties
readonly
formatting: FormattingMethods
Iterate over each entry in the INI to retrieve key, value, and section.
parse(text: string,reviver?: ReviverFunction): thisParse an INI string in this IniMap.
toString(replacer?: ReplacerFunction): stringConvert this IniMap to an INI string.