Skip to content

INI

Parsing and stringifying of .ini data.

INI

Similarly to the JSON class in JavaScript, the INI class provides methods to parse and stringify .ini files.

const fields = INI.parse(`...`)
const txt = INI.string(obj)

parsers

The parsers also provides merciful parser for .env. Returns undefined for invalid inputs.

const fields = parsers.INI(env.files[0])