2.0.4 • Published 6 months ago

@types/ndjson v2.0.4

Weekly downloads
5,906
License
MIT
Repository
github
Last release
6 months ago

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

Credits

These definitions were written by Junxiao Shi.

2.0.3

7 months ago

2.0.2

8 months ago

2.0.4

6 months ago

2.0.1

3 years ago

2.0.0

4 years ago

1.5.0

4 years ago