0.0.0 • Published 10 years ago
stream-to-thunk v0.0.0
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)
0.0.0
10 years ago