New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

bin_streamer

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bin_streamer

Binary safe streaming transform extracted from shoe-bin to use as stand alone functions.

latest
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

bin_streamer

Binary safe streaming transform extracted from shoe-bin to use as stand alone functions.

Thanks

Thanks to substack for the base64 encode and decode functions.


var encode = require('bin_streamer').encode
var decode = require('bin_streamer').decode

fs.createReadStream('./some.zip').pipe(encode())
.on('finish', function () {
  fs.createReadStream('./some_zip_to_text.txt').pipe(decode())
  .pipe(fs.createWriteStream('./some_copied.zip'))
})
.pipe(fs.createWriteStream('./some_zip_to_text.txt'))

install

npm install

FAQs

Package last updated on 20 Oct 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts