@types/ini
TypeScript icon, indicating that this package has built-in type declarations

4.1.0 • Public • Published

Installation

npm install --save @types/ini

Summary

This package contains type definitions for ini (https://github.com/npm/ini).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ini.

index.d.ts

interface EncodeOptions {
    align?: boolean;
    section?: string;
    sort?: boolean;
    whitespace?: boolean;
    newline?: boolean;
    platform?: string;
    bracketedArray?: boolean;
}

export function decode(str: string): {
    [key: string]: any;
};
export function parse(str: string): {
    [key: string]: any;
};
export function encode(object: any, options?: EncodeOptions | string): string;
export function stringify(object: any, options?: EncodeOptions | string): string;
export function safe(val: string): string;
export function unsafe(val: string): string;

Additional Details

  • Last updated: Wed, 27 Dec 2023 07:35:34 GMT
  • Dependencies: none

Credits

These definitions were written by Marcin Porębski, Chris Arnesen, and Adaline Simonian.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/ini

Weekly Downloads

234,732

Version

4.1.0

License

MIT

Unpacked Size

4.07 kB

Total Files

5

Last publish

Collaborators

  • types