1.0.4 • Published 6 months ago

@types/readline-transform v1.0.4

Weekly downloads
136
License
MIT
Repository
github
Last release
6 months ago

Installation

npm install --save @types/readline-transform

Summary

This package contains type definitions for readline-transform (https://github.com/tilfin/readline-transform).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/readline-transform/v0.

index.d.ts

// Type definitions for readline-transform 0.9
// Project: https://github.com/tilfin/readline-transform
// Definitions by: Piotr Roszatycki <https://github.com/dex4er>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

/// <reference types="node" />

import { Transform, TransformOptions } from 'stream';

declare namespace ReadlineTransform {
    interface Options extends TransformOptions {
    /** line break matcher for str.split() (default: /\r?\n/) */
    breakMatcher?: RegExp | undefined;
    /** if content ends with line break, ignore last empty line (default: true) */
    ignoreEndOfBreak?: boolean | undefined;
    /** if line is empty string, skip it (default: false) */
    skipEmpty?: boolean | undefined;
    }
}

declare class ReadlineTransform extends Transform {
  constructor(options?: ReadlineTransform.Options);
}

export = ReadlineTransform;

Additional Details

  • Last updated: Thu, 08 Jul 2021 22:41:46 GMT
  • Dependencies: @types/node
  • Global values: none

Credits

These definitions were written by Piotr Roszatycki.

1.0.2

7 months ago

0.9.4

7 months ago

0.9.6

6 months ago

0.9.5

7 months ago

1.0.4

6 months ago

1.0.3

7 months ago

1.0.1

3 years ago

0.9.3

3 years ago

0.9.2

5 years ago

1.0.0

5 years ago

0.9.1

6 years ago

0.9.0

6 years ago