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 May 17, 2024 via pnpm

mississippi 1.2.0

a collection of useful streams
Package summary
Share
0
issues
3
licenses
21
MIT
3
ISC
1
BSD-2-Clause
Package created
14 Aug 2015
Version published
11 Jan 2016
Maintainers
2
Total deps
25
Direct deps
9
License
BSD-2-Clause

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
21 Packages, Including:
buffer-from@1.1.2
concat-stream@1.6.2
core-util-is@1.0.3
duplexify@3.7.1
end-of-stream@1.4.4
flush-write-stream@1.1.1
from2@2.3.0
isarray@1.0.0
process-nextick-args@2.0.1
pump@1.0.3
pump@2.0.1
pumpify@1.5.1
readable-stream@2.3.8
safe-buffer@5.1.2
stream-each@1.2.3
stream-shift@1.0.3
string_decoder@1.1.1
through2@2.0.5
typedarray@0.0.6
util-deprecate@1.0.2
xtend@4.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

BSD 2-Clause "Simplified" License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
place-warranty
Cannot
hold-liable
Must
include-copyright
include-license
1 Packages, Including:
mississippi@1.2.0
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

9
All Dependencies CSV
β“˜ This is a list of mississippi 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities
concat-stream1.6.23.72 kBMIT
prod
duplexify3.7.14.92 kBMIT
prod
end-of-stream1.4.42.33 kBMIT
prod
flush-write-stream1.1.12.47 kBMIT
prod
from22.3.03.65 kBMIT
prod
pump1.0.32.92 kBMIT
prod
pumpify1.5.13.4 kBMIT
prod
stream-each1.2.32.7 kBMIT
prod
through22.0.53.96 kBMIT
prod

Visualizations

Frequently Asked Questions

What does mississippi do?

Mississippi is a utility package for Node.js, providing a collection of useful stream modules. Its main aim is to simplify working with Node.js streams without compromising speed, error handling, or composability. The package includes several methods such as pipe, each, pipeline, duplex, and through among others, each offering different functionalities to make stream handling much easier.

How do you use mississippi?

You can use Mississippi by first installing the package using npm:

npm install mississippi

Then, you can require the package in your Node.js files:

var miss = require('mississippi')

The mississippi package provides various methods for handling streams. Here are some usage examples:

// Using the pipe method
var fs = require('fs')
var read = fs.createReadStream('./original.zip')
var write = fs.createWriteStream('./copy.zip')
miss.pipe(read, write, function (err) {
  if (err) return console.error('Copy error!', err)
  console.log('Copied successfully')
})

// Using the each method
var newLineSeparatedNumbers = fs.createReadStream('numbers.txt')
var pipeline = miss.pipeline(newLineSeparatedNumbers, split())
var sum = 0
function eachLine (line, next) {
  sum += parseInt(line.toString())
  next()
}
miss.each(pipeline, eachLine, function(err){
  if (err) throw err
  console.log('sum is', sum)
})

Each method of the package may have a different usage, so it's recommended to check the documentation for specific methods.

Where are the mississippi docs?

Mississippi's documentation can be found in the README file of the project's Github repository. It provides a detailed overview and usage examples of all the available methods in the Mississippi utility package. Helpful related resources on streams can be found in the "see also" section of the document including links to the stream handbook and node.js API documentation.