Add node_modules until bundler is added

This commit is contained in:
Joel Male
2020-08-26 09:57:08 +10:00
parent 600d4f061c
commit e4e62ab7e8
5789 changed files with 1707160 additions and 10 deletions
+16
View File
@@ -0,0 +1,16 @@
'use strict';
// pipe to file
var FetchStream = require('../lib/fetch').FetchStream,
fs = require('fs'),
inp, out;
inp = new FetchStream('http://google.com');
out = fs.createWriteStream('google.html');
inp.on('end', function(){
console.log('downloaded!');
});
inp.pipe(out);