Skip to content
Effect Days 2026 Get your ticket

Ini

Parses INI configuration files.

This module contains the decoding surface used by Effect's CLI without pulling in the complete ini package.

1 exports Added in v4.0.0 Source

Decoding

parse

Added in v4.0.0 Source

Parses an INI document into a null-prototype record.

Section names separated by dots become nested records, repeated keys ending in [] become arrays, and the scalar values true, false, and null are decoded. Other scalar values remain strings.

Signature

declare function parse(input: string): Record<string, unknown>