UNPKG

simple-plist

Version:

A wrapper utility for interacting with plist data.

9 lines (8 loc) 371 B
/// <reference types="node" /> import { PathOrFileDescriptor } from "fs"; import { PlistJsObj, StringOrBuffer } from "./types"; /** * Detects the format of the given string or buffer, then attempts to parse the * payload using the appropriate tooling. */ export declare function parse<T = PlistJsObj>(aStringOrBuffer: StringOrBuffer, aFile?: PathOrFileDescriptor): T;