UNPKG

808 BMarkdownView Raw
1# Installation
2> `npm install --save @types/parse-json`
3
4# Summary
5This package contains type definitions for parse-json (https://github.com/sindresorhus/parse-json).
6
7# Details
8Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/parse-json.
9## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/parse-json/index.d.ts)
10````ts
11declare function parseJson(input: string | null, filepath?: string): any;
12declare function parseJson(input: string | null, reviver: (key: any, value: any) => any, filepath?: string): any;
13
14export = parseJson;
15
16````
17
18### Additional Details
19 * Last updated: Tue, 07 Nov 2023 09:09:39 GMT
20 * Dependencies: none
21
22# Credits
23These definitions were written by [mrmlnc](https://github.com/mrmlnc).
24
\No newline at end of file