parseIni
parseIni(
source,options?):UnknownRecord
Defined in: packages/format-ini/src/parse.ts:119
Parses INI text into a plain object.
A utility over parseIniDocument and iniDocumentToValue, not a second implementation of the grammar. Use the document form directly where comments, ordering or spans matter — this projection discards all three, and a repeated section is merged into the one before it.
Parameters
Section titled “Parameters”source
Section titled “source”string
options?
Section titled “options?”IniParseOptions & IniValueOptions
Returns
Section titled “Returns”UnknownRecord