fswrite-stream

Write a stream to a file

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
fswrite-stream
401.0.08 years ago8 years agoMinified + gzip package size for fswrite-stream in KB

Readme

fswrite-stream Build Status
Write a stream to a file with correct error handling, call the callback once it's finished

Install

$ npm install fswrite-stream --save

Usage

var fsWriteStream = require('fswrite-stream');


fsWriteStream('./test.html', request('http://google.fr'), function(err, size) {
    if (err) console.log(err);
    else console.log('Bytes written:', size);
})