Installation
npm install --save @types/json-stringify-safe
Summary
This package contains type definitions for json-stringify-safe (https://github.com/isaacs/json-stringify-safe).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/json-stringify-safe.
index.d.ts
// Type definitions for json-stringify-safe 5.0
// Project: https://github.com/isaacs/json-stringify-safe
// Definitions by: BendingBender <https://github.com/BendingBender>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
export = stringify;
declare function stringify(
obj: any,
serializer?: stringify.EntryProcessor | null,
indent?: string | number | null,
decycler?: stringify.EntryProcessor,
): string;
declare namespace stringify {
function getSerialize(serializer: EntryProcessor | null, decycler?: EntryProcessor): EntryProcessor;
type EntryProcessor = (key: string, value: any) => any;
}
Additional Details
- Last updated: Fri, 15 Sep 2023 20:36:37 GMT
- Dependencies: none
- Global values: none
Credits
These definitions were written by BendingBender.