Installation
npm install --save @types/ini
Summary
This package contains type definitions for ini (https://github.com/isaacs/ini).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ini.
index.d.ts
// Type definitions for ini v1.3.3
// Project: https://github.com/isaacs/ini
// Definitions by: Marcin Porębski <https://github.com/marcinporebski>
// Chris Arnesen <https://github.com/carnesen>
// Adaline Simonian <https://github.com/adalinesimonian>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
interface EncodeOptions {
section?: string;
whitespace?: 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: Thu, 07 Oct 2021 21:01:20 GMT
- Dependencies: none
- Global values: none
Credits
These definitions were written by Marcin Porębski, Chris Arnesen, and Adaline Simonian.