@twec/async-file-reader
v1.0.0
Published
Asynchronous file reader
Downloads
4
Readme
@twec/async-file-reader
TODO: description
Usage
const asyncFileReaderConstructor = require('@twec/async-file-reader').asyncFileReader;
const asyncFileReader = new asyncFileReaderConstructor( {fileName, readSize, lineTerminator, encoding, convertToString} );
while ((line = await asyncFileReader.readLine()) != null) {
// do something...
}