2.0.4 • Published 6 months ago
@types/ndjson v2.0.4
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
// Type definitions for ndjson 2.0
// Project: https://github.com/maxogden/ndjson
// Definitions by: Junxiao Shi <https://github.com/yoursunny>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference types="node" />
import { ThroughStream } from "through";
import { DuplexOptions, Transform } from "stream";
export interface ParseOptions {
strict?: boolean | undefined;
}
export function parse(opts?: ParseOptions): ThroughStream;
export function stringify(opts?: DuplexOptions): Transform;
Additional Details
- Last updated: Thu, 08 Jul 2021 18:51:11 GMT
- Dependencies: @types/through, @types/node
- Global values: none
Credits
These definitions were written by Junxiao Shi.