1.0.6 • Published 6 months ago
@types/n-readlines v1.0.6
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.