Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Hold on, we're currently generating a fresh version of this report
Generated on Jun 5, 2024 via pnpm

pumpify 1.5.1

Combine an array of streams into a single duplex stream using pump and duplexify
Package summary
Share
0
issues
2
licenses
12
MIT
3
ISC
Package created
11 Jul 2014
Version published
16 May 2018
Maintainers
1
Total deps
15
Direct deps
3
License
MIT

Issues

0
This package has no issues

Licenses

MIT License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
Cannot
hold-liable
Must
include-copyright
include-license
12 Packages, Including:
core-util-is@1.0.3
duplexify@3.7.1
end-of-stream@1.4.4
isarray@1.0.0
process-nextick-args@2.0.1
pump@2.0.1
pumpify@1.5.1
readable-stream@2.3.8
safe-buffer@5.1.2
stream-shift@1.0.3
string_decoder@1.1.1
util-deprecate@1.0.2

ISC License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
Cannot
hold-liable
Must
include-copyright
include-license
3 Packages, Including:
inherits@2.0.4
once@1.4.0
wrappy@1.0.2
Disclaimer

This deed highlights only some of the key features and terms of the actual license. It is not a license and has no legal value. You should carefully review all of the terms and conditions of the actual license before using the licensed material.

Sandworm is not a law firm and does not provide legal services. Distributing, displaying, or linking to this deed or the license that it summarizes does not create a lawyer-client or any other relationship.

Direct Dependencies

3
All Dependencies CSV
β“˜ This is a list of pumpify 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities
duplexify3.7.14.92 kBMIT
prod
inherits2.0.41.98 kBISC
prod
pump2.0.13.06 kBMIT
prod

Visualizations

Frequently Asked Questions

What does pumpify do?

Pumpify is a JavaScript package that allows you to combine an array of streams into one duplex stream using pump and duplexify. Its useful functionality comes in when one of the streams closes or errors. In such situations, Pumpify ensures all streams in the pipeline are destroyed avoiding half-closed streams and data losses.

How do you use pumpify?

To use Pumpify, you need to install the package via npm by running the command npm install pumpify. After installation, you can import the package into your file. The basic usage of Pumpify involves passing the streams you wish to pipe together to Pumpify as shown in the example below:

var pumpify = require('pumpify')
var tar = require('tar-fs')
var zlib = require('zlib')
var fs = require('fs')

var untar = pumpify(zlib.createGunzip(), tar.extract('output-folder'))
fs.createReadStream('some-gzipped-tarball.tgz').pipe(untar)

You can also define the pipeline asynchronously by using the setPipeline function as shown in the following example:

var untar = pumpify()

setTimeout(function() {
  untar.setPipeline(zlib.createGunzip(), tar.extract('output-folder'))
}, 1000)

fs.createReadStream('some-gzipped-tarball.tgz').pipe(untar)

Where are the pumpify docs?

The documentation for Pumpify can be found in the package's README file on its GitHub repository. Here, you can access instructions on how to use this package, its functions, and its relationship with other packages like pump and duplexify.