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

1.0.4 • Public • Published

Installation

npm install --save @types/relaxed-json

Summary

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

Details

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

index.d.ts

export type Reviver = (this: {}, key: string, value: any) => any;
export function transform(text: string): string;
export function parse(text: string, reviver: Reviver): {};
export function parse(text: string, opts?: {
    reviver?: Reviver | undefined;
    relaxed?: boolean | undefined;
    warnings?: boolean | undefined;
    tolerant?: boolean | undefined;
    duplicate?: boolean | undefined;
}): {};
export function stringify(obj: any): string;

Additional Details

  • Last updated: Tue, 07 Nov 2023 15:11:36 GMT
  • Dependencies: none

Credits

These definitions were written by Mikal Madsen.

Versions

Current Tags

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.4
    463
  • 1.0.3
    0
  • 1.0.2
    0
  • 1.0.1
    511
  • 1.0.0
    19,513

Package Sidebar

Install

npm i @types/relaxed-json

Weekly Downloads

17,246

Version

1.0.4

License

MIT

Unpacked Size

3.46 kB

Total Files

5

Last publish

Collaborators

  • types