npm.io
1.6.2 • Published 2 years ago

@types/json-fixer

Licence
MIT
Version
1.6.2
Deps
0
Size
3 kB
Vulns
0
Weekly
0
Stars
51.4K

Installation

npm install --save @types/json-fixer

Summary

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

Details

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

index.d.ts

type JsonFixerDataReturnValue = string | { [k: string]: any };

interface FixJsonOptions {
    verbose?: boolean;
    parse?: boolean;
}

interface CheckJsonResult {
    data: JsonFixerDataReturnValue;
    changed: boolean;
}

declare function checkJson(data: string, options?: FixJsonOptions | boolean): CheckJsonResult;

export = checkJson;

Additional Details

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

Credits

These definitions were written by zbone3.