HEX
Server: nginx/1.18.0
System: Linux test-ipsremont 5.4.0-214-generic #234-Ubuntu SMP Fri Mar 14 23:50:27 UTC 2025 x86_64
User: ips (1000)
PHP: 8.0.30
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/design.system/node_modules/confbox/dist/ini.d.mts
/**
 * Converts an [INI](https://www.ini.org/ini-en.html) string into an object.
 *
 * **Note:** Style and indentation are not preserved currently.
 */
declare function parseINI<T = unknown>(text: string, options?: INIParseOptions): T;
/**
 * Converts a JavaScript value to an [INI](https://www.ini.org/ini-en.html) string.
 *
 * **Note:** Style and indentation are not preserved currently.
 */
declare function stringifyINI(value: any, options?: INIStringifyOptions): string;
interface INIParseOptions {
    /**
     *  Whether to append `[]` to array keys.
     *
     *  Some parsers treat duplicate names by themselves as arrays.
     */
    bracketedArray?: boolean;
}
interface INIStringifyOptions {
    /**
     *  Whether to insert spaces before & after `=` character.
     *  Enabled by default.
     */
    whitespace?: boolean;
    /**
     *  Whether to align the `=` character for each section.
     */
    align?: boolean;
    /**
     *  Identifier to use for global items
     *  and to prepend to all other sections.
     */
    section?: string;
    /**
     *  Whether to sort all sections & their keys alphabetically.
     */
    sort?: boolean;
    /**
     *  Whether to insert a newline after each section header.
     */
    newline?: boolean;
    /**
     *  Which platforms line-endings should be used.
     *
     *  win32 -> CR+LF
     *  other -> LF
     *
     *  Default is the current platform
     */
    platform?: string;
    /**
     *  Whether to append `[]` to array keys.
     *
     *  Some parsers treat duplicate names by themselves as arrays
     */
    bracketedArray?: boolean;
}

export { type INIParseOptions, type INIStringifyOptions, parseINI, stringifyINI };