node-batora
GETs data
Installation
$ npm install
$ gulp
Supported protocols
- local files
- HTTP
- HTTPS
- FTP
- SFTP
Usage
var Batora = require('batora');
var href = 'https://mifitto.com/img/mifitto-logo.png';
Batora.get(href, function(err, fileBuffer) {
// Handle error; Do whatever you want with your file buffer ...
});
Testing
$ gulp mocha