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
+23
View File
@@ -0,0 +1,23 @@
'use strict';
var FetchStream = require('../lib/fetch').FetchStream;
var fetch = new FetchStream('http://google.com', {
headers: {}
});
fetch.on('data', function (chunk) {
console.log(chunk);
});
fetch.on('meta', function (meta) {
console.log(meta);
});
fetch.on('end', function () {
console.log('END');
});
fetch.on('error', function (e) {
console.log('ERROR: ' + (e && e.message || e));
});