Socket
Socket
Sign inDemoInstall

stream-transform

Package Overview
Dependencies
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stream-transform - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

8

lib/index.js

@@ -58,3 +58,3 @@ // Generated by CoffeeScript 1.9.2

}
if (callback) {
if (callback || options.consume) {
result = [];

@@ -71,6 +71,8 @@ transform.on('readable', function() {

error = true;
return callback(err);
if (callback) {
return callback(err);
}
});
transform.on('end', function() {
if (!error) {
if (callback && !error) {
return callback(null, result);

@@ -77,0 +79,0 @@ }

{
"version": "0.1.0",
"version": "0.1.1",
"name": "stream-transform",

@@ -4,0 +4,0 @@ "description": "Object transformations implementing the Node.js `stream.Transform` API",

[![Build Status](https://secure.travis-ci.org/wdavidw/node-csv-parse.png)][travis]
Part of the [CSV module][csv_home], this project is a simple object
transformation framework. It implements the Node.js
[`stream.Transform` API][stream_transform]. It also provides a simple
callback-based API for convenience. It is both extremely easy to use and
powerful.
transformation framework. It implements the Node.js [`stream.Transform` API][streamtransform].
It also provides a simple callback-based API for convenience.
It is both extremely easy to use and powerful.

@@ -9,0 +8,0 @@ [Documentation for the "csv-parse" package is available here][home].

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc