Class: StreamProcessor

StreamProcessor(filePath) → {Promise.<number>}

Estimates the total number of lines in a file.

Constructor

new StreamProcessor(filePath) → {Promise.<number>}

Parameters:
Name Type Description
filePath string

The path to the file.

Source:
Returns:

A promise that resolves with the estimated line count.

Type
Promise.<number>