• Version 4.1.0
  • Published
  • 4.07 kB
  • No dependencies
  • MIT license


npm i @types/ini
yarn add @types/ini
pnpm add @types/ini


TypeScript definitions for ini



function decode

decode: (str: string) => { [key: string]: any };

    function encode

    encode: (object: any, options?: EncodeOptions | string) => string;

      function parse

      parse: (str: string) => { [key: string]: any };

        function safe

        safe: (val: string) => string;

          function stringify

          stringify: (object: any, options?: EncodeOptions | string) => string;

            function unsafe

            unsafe: (val: string) => string;


              interface EncodeOptions

              interface EncodeOptions {}

                property align

                align?: boolean;

                  property bracketedArray

                  bracketedArray?: boolean;

                    property newline

                    newline?: boolean;

                      property platform

                      platform?: string;

                        property section

                        section?: string;

                          property sort

                          sort?: boolean;

                            property whitespace

                            whitespace?: boolean;

                              Package Files (1)

                              Dependencies (0)

                              No dependencies.

                              Dev Dependencies (0)

                              No dev dependencies.

                              Peer Dependencies (0)

                              No peer dependencies.


                              To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

                              You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/@types/ini.

                              • Markdown
                              • HTML
                                <a href="https://www.jsdocs.io/package/@types/ini"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>