# @types/json-stringify-safe

> TypeScript definitions for json-stringify-safe

Latest version **5.0.3** (published 2023-11-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/json-stringify-safe
pnpm add @types/json-stringify-safe
yarn add @types/json-stringify-safe
bun add @types/json-stringify-safe
```

## Health

**Score 45/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 5.0.3 |
| Published | 2023-11-07 |
| First published | 2017-08-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51437 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/json-stringify-safe
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/json-stringify-safe
- npm.io page: https://npm.io/package/@types/json-stringify-safe

## Recent versions

- 5.0.3 (latest) — 2023-11-07
- 5.0.0 (ts2.0) — 2017-08-16
- 5.0.2 — 2023-10-18
- 5.0.1 — 2023-09-15

## README

# 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](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/json-stringify-safe/index.d.ts)
````ts
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: Tue, 07 Nov 2023 03:09:37 GMT
 * Dependencies: none

# Credits
These definitions were written by [BendingBender](https://github.com/BendingBender).

---
_Source: https://npm.io/package/@types/json-stringify-safe · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
