JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 338425
  • Score
    100M100P100Q177093F
  • License MIT

TypeScript definitions for ini

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@types/ini) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    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;
    }
    
    interface DecodeOptions {
        bracketedArray?: boolean;
    }
    
    export function decode(str: string, options?: DecodeOptions): {
        [key: string]: any;
    };
    export function parse(str: string, options?: DecodeOptions): {
        [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: Sun, 09 Jun 2024 05:35:20 GMT
    • Dependencies: none

    Credits

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