Skip to content

SamyPesse/fswrite-stream

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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);
})

About

Write a stream to a file

Resources

Stars

Watchers

Forks

Packages

No packages published