@types/ndjson
TypeScript icon, indicating that this package has built-in type declarations

2.0.4 • Public • Published

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

/// <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

Credits

These definitions were written by Junxiao Shi.

Versions

Current Tags

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 2.0.4
    13,542
  • 2.0.3
    262
  • 2.0.2
    3,988
  • 2.0.1
    74,198
  • 2.0.0
    81
  • 1.5.0
    203

Package Sidebar

Install

npm i @types/ndjson

Weekly Downloads

92,274

Version

2.0.4

License

MIT

Unpacked Size

3.31 kB

Total Files

5

Last publish

Collaborators

  • types