1.0.6 • Published 6 months ago

@types/n-readlines v1.0.6

Weekly downloads
2,038
License
MIT
Repository
github
Last release
6 months ago

Installation

npm install --save @types/n-readlines

Summary

This package contains type definitions for n-readlines (https://github.com/nacholibre/node-readlines).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/n-readlines.

index.d.ts

// Type definitions for n-readlines 1.0
// Project: https://github.com/nacholibre/node-readlines
// Definitions by: DefinitelyTyped <https://github.com/DefinitelyTyped>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3

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

import { PathLike } from 'fs';

export = LineByLine;

declare class LineByLine {
    constructor(file: PathLike | number, options?: Options)
    next(): Buffer | false;
    reset(): void;
    close(): void;
}

interface Options {
    readChunk?: number | undefined;
    newLineCharacter?: string | undefined;
}

Additional Details

  • Last updated: Thu, 23 Dec 2021 23:35:09 GMT
  • Dependencies: @types/node
  • Global values: none

Credits

These definitions were written by DefinitelyTyped.

1.0.6

6 months ago

1.0.5

7 months ago

1.0.4

8 months ago

1.0.3

2 years ago

1.0.2

3 years ago

1.0.1

4 years ago

1.0.0

4 years ago