ini-simple-parser
Version:
A simple, fast and configurable INI parser.
13 lines (12 loc) • 326 B
TypeScript
type Options = {
inferBooleans?: boolean;
inferNulls?: boolean;
inferNumbers?: boolean;
inferStrings?: boolean;
inlineComments?: boolean;
};
type Primitive = null | boolean | number | string;
type Results = Partial<{
[key: string]: Results | Primitive;
}>;
export type { Options, Primitive, Results };