iostreams-https

HTTPS stream provider for iostreams

iostreams-https

Bootstrap stream provider for iostreams

$ npm install iostreams iostreams-https
var iostreams = require('iostreams');
 
iostreams.use(require('iostreams-https'));
 
// Getting an input stream 
iostreams.getInputStream('https://bensbit.co.uk/ben/lolcat.png', function(errinputStream) {
 
});
 
// Getting an output stream 
iostreams.getOutputStream('https://bensbit.co.uk/api/upload/lolcat.png', function(erroutputStream) {
 
});
 
// Getting an input and output stream 
iostrams.getInputAndOutputStream(
  'https://inputpath',
  'https://outputpath',
  function(errinputStreamoutputStream) {
    intputStream.pipe(outputStream);
  }
);

MIT