Nougat Predominant Middleware

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

    1.0.1 • 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

    // Type definitions for relaxed-json 1.0
    // Project: https://github.com/phadej/relaxed-json
    // Definitions by: Mikal Madsen <https://github.com/18steps>
    // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
    
    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: Wed, 07 Jul 2021 18:02:21 GMT
    • Dependencies: none
    • Global values: none

    Credits

    These definitions were written by Mikal Madsen.

    Keywords

    none

    Install

    npm i @types/relaxed-json

    DownloadsWeekly Downloads

    43,223

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    3.92 kB

    Total Files

    4

    Last publish

    Collaborators

    • types