Socket
Socket
Sign inDemoInstall

collect-stream

Package Overview
Dependencies
13
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.0 to 1.0.0

.travis.yml

2

index.js

@@ -5,3 +5,3 @@ var concat = require('concat-stream');

/**
* Call output and errors of `stream`.
* Collect output and errors of `stream`.
*

@@ -8,0 +8,0 @@ * @param {Stream} stream

{
"name": "collect-stream",
"description": "Collect a readable stream's output and errors",
"version": "0.0.0",
"version": "1.0.0",
"repository": {

@@ -15,4 +15,4 @@ "type": "git",

"dependencies": {
"once": "~1.3.0",
"concat-stream": "~1.2.0"
"once": "^1.3.0",
"concat-stream": "^1.2.0"
},

@@ -34,2 +34,2 @@ "devDependencies": {

"license": "MIT"
}
}

@@ -6,4 +6,9 @@

[![build status](https://secure.travis-ci.org/juliangruber/collect-stream.png)](http://travis-ci.org/juliangruber/collect-stream)
## Usage
Give it a readable stream and a function and it will call latter with the
potential error and a smart representation of the data the stream emitted.
```js

@@ -10,0 +15,0 @@ var collect = require('collect-stream');

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc