UNPKG

plist2

Version:

Converts between .tmLanguage(.plist), .json, .cson and .yaml formats

34 lines (33 loc) 1.67 kB
export declare const __EMPTY__ = ""; export declare const __PLIST__ = "plist"; export declare const __KEY__ = "key"; export declare const __ARRAY__ = "array"; export declare const __DICT__ = "dict"; export declare const __STRING__ = "string"; export declare const __INTEGER__ = "integer"; export declare const __REAL__ = "real"; export declare const __DATE__ = "date"; export declare const __DATA__ = "data"; export declare const __TRUE__ = "true"; export declare const __FALSE__ = "false"; export declare const __COMMENTS_KEY__ = "%comments%"; export declare const __BINARY64_KEY__ = "%binary64%"; export declare const REG_CRLF = "[\\r\\n\\u2028\\u2029]"; export declare const regexp: (pattern: (string | RegExp)[], flags: string) => RegExp; export declare const keys: { (o: object): string[]; (o: {}): string[]; }; export declare const repeat: (string: string, count?: number) => string; export declare const setComments: <T>(v: T, value?: {}) => T; export declare const createArray: () => any; export declare const createObject: () => any; export declare const isArray: (arg: any) => arg is any[]; export declare const isObject: (v: any) => boolean; export declare const jsonStringify: { (value: any, replacer?: (this: any, key: string, value: any) => any, space?: string | number): string; (value: any, replacer?: (string | number)[], space?: string | number): string; }; export declare const jsonParse: (text: string, reviver?: (this: any, key: string, value: any) => any) => any; export declare const setIndent: (indent: string, deep: number) => string; export declare const changeYamlIndentOnString: (yaml: string, indent: string | number) => string;