mirror of
https://github.com/joelwmale/webhook-action.git
synced 2026-08-27 06:47:18 -05:00
Add node_modules until bundler is added
This commit is contained in:
+16
@@ -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);
|
||||
Reference in New Issue
Block a user