then-eos
DefinitelyTyped icon, indicating that this package has TypeScript declarations provided by the separate @types/then-eos package

1.0.0 • Public • Published

then-eos

Promise-based end-of-stream.

Installation

npm i then-eos -S

Usage

var fs = require('fs');
var eos = require('then-eos');
 
var stream = fs.createReadStream('LICENSE');
 
eos(stream).then(function () {
  // Reached end of the stream
});

License

MIT licensed.

Readme

Keywords

Package Sidebar

Install

npm i then-eos

Weekly Downloads

18

Version

1.0.0

License

MIT

Last publish

Collaborators

  • meo