stream-to-thunk

0.0.0 • Public • Published

stream-to-thunk

co(function *() {
  var readStream = fs.createReadStream(path.join(__dirname, 'file.txt'), {
    encoding: 'utf8'
  });
  var content = yield streamToThunk(readStream);
})();

Install

$ npm install stream-to-thunk

License

The MIT License (MIT)

http://poying.mit-license.org/

Readme

Keywords

Package Sidebar

Install

npm i stream-to-thunk

Weekly Downloads

0

Version

0.0.0

License

MIT

Last publish

Collaborators

  • poying