@types/ini

  • Version 4.1.1
  • Published
  • 4.29 kB
  • No dependencies
  • MIT license

Install

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

Overview

TypeScript definitions for ini

Index

Functions

function decode

decode: (str: string, options?: DecodeOptions) => { [key: string]: any };

    function encode

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

      function parse

      parse: (str: string, options?: DecodeOptions) => { [key: string]: any };

        function safe

        safe: (val: string) => string;

          function stringify

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

            function unsafe

            unsafe: (val: string) => string;

              Interfaces

              interface DecodeOptions

              interface DecodeOptions {}

                property bracketedArray

                bracketedArray?: boolean;

                  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.

                                  Badge

                                  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
                                    [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/@types/ini)
                                  • 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>