# @types/ndjson

> TypeScript definitions for ndjson

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

## Install

```sh
npm install @types/ndjson
pnpm add @types/ndjson
yarn add @types/ndjson
bun add @types/ndjson
```

## 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 | 2.0.4 |
| Published | 2023-11-07 |
| First published | 2020-03-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 3.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51441 |
| Maintainers | types |

## Links

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

## Dependencies (2)

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

## Recent versions

- 2.0.4 (latest) — 2023-11-07
- 2.0.1 (ts3.6) — 2021-07-08
- 2.0.0 (ts3.1) — 2020-08-24
- 1.5.0 (ts2.8) — 2020-03-22
- 2.0.3 — 2023-10-18
- 2.0.2 — 2023-09-23

## README

# Installation
> `npm install --save @types/ndjson`

# Summary
This package contains type definitions for ndjson (https://github.com/maxogden/ndjson).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ndjson.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ndjson/index.d.ts)
````ts
/// <reference types="node" />

import { DuplexOptions, Transform } from "stream";
import { ThroughStream } from "through";

export interface ParseOptions {
    strict?: boolean | undefined;
}

export function parse(opts?: ParseOptions): ThroughStream;

export function stringify(opts?: DuplexOptions): Transform;

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 09:09:39 GMT
 * Dependencies: [@types/node](https://npmjs.com/package/@types/node), [@types/through](https://npmjs.com/package/@types/through)

# Credits
These definitions were written by [Junxiao Shi](https://github.com/yoursunny).

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