# @types/streaming-json-stringify

> TypeScript definitions for streaming-json-stringify

Latest version **3.1.5** (published 2025-10-24) · MIT license · 0 weekly downloads

## Install

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

## Health

**Score 65/100 (B)** — status: stable.

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

Warnings: low downloads; no esm support.

## Facts

| | |
|---|---|
| Version | 3.1.5 |
| Published | 2025-10-24 |
| First published | 2017-08-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 4.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51450 |
| Maintainers | types |

## Links

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

## Dependencies (1)

- [@types/node](https://npm.io/package/@types/node.md) *

## Recent versions

- 3.1.5 (latest) — 2025-10-24
- 3.1.4 (ts5.1) — 2023-11-07
- 3.1.1 (ts3.5) — 2019-08-19
- 3.1.0 (ts2.2) — 2017-08-16
- 3.1.3 — 2023-10-18
- 3.1.2 — 2023-09-25

## README

# Installation
> `npm install --save @types/streaming-json-stringify`

# Summary
This package contains type definitions for streaming-json-stringify (https://github.com/stream-utils/streaming-json-stringify#readme).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/streaming-json-stringify.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/streaming-json-stringify/index.d.ts)
````ts
/// <reference types="node" />
import stream = require("stream");

export = Stringify;

declare const Stringify: StringifyFactory;

interface StringifyFactory {
    (options?: Stringify.Options): Stringify.Instance & stream.Transform;
    new(options?: Stringify.Options): Stringify.Instance & stream.Transform;
}

declare namespace Stringify {
    interface Instance {
        replacer: Replacer;
        space: string | number;
        opener: string;
        seperator: string;
        closer: string;
        stringifier(value: any, replacer: Replacer, space: string | number): string;
    }

    type Replacer = (key: string, value: any) => any;

    type Options = Partial<Instance> & stream.TransformOptions;
}

````

### Additional Details
 * Last updated: Fri, 24 Oct 2025 04:02:41 GMT
 * Dependencies: [@types/node](https://npmjs.com/package/@types/node)

# Credits
These definitions were written by [BendingBender](https://github.com/BendingBender).

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