@types/parse-json
TypeScript icon, indicating that this package has built-in type declarations

4.0.2 • Public • Published

Installation

npm install --save @types/parse-json

Summary

This package contains type definitions for parse-json (https://github.com/sindresorhus/parse-json).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/parse-json.

index.d.ts

declare function parseJson(input: string | null, filepath?: string): any;
declare function parseJson(input: string | null, reviver: (key: any, value: any) => any, filepath?: string): any;

export = parseJson;

Additional Details

  • Last updated: Tue, 07 Nov 2023 09:09:39 GMT
  • Dependencies: none

Credits

These definitions were written by mrmlnc.

Versions

Current Tags

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 4.0.2
    8,238,156
  • 4.0.1
    486,385
  • 4.0.0
    10,797,468

Package Sidebar

Install

npm i @types/parse-json

Weekly Downloads

19,522,009

Version

4.0.2

License

MIT

Unpacked Size

2.95 kB

Total Files

5

Last publish

Collaborators

  • types