Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

binary-csv

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

binary-csv - npm Package Compare versions

Comparing version 0.1.7 to 0.2.0

13

index.js

@@ -1,2 +0,2 @@

var through = require('through')
var through = require('through2')
var extend = require('extend')

@@ -25,2 +25,5 @@

// alias 'delimiter' to 'newline'
if (opts.delimiter) opts.newline = opts.delimiter
if (opts.detectNewlines) delete opts.newline

@@ -31,3 +34,3 @@ else newline = new Buffer(opts.newline)

var stream = through(write, end)
var stream = through.obj(write, end)

@@ -40,3 +43,3 @@ stream.line = line

function write(buf) {
function write(buf, enc, next) {

@@ -93,2 +96,4 @@ inQuotes = false

}
next()
}

@@ -110,3 +115,3 @@

}
stream.queue(lineBuffer)
stream.push(lineBuffer)
}

@@ -113,0 +118,0 @@

{
"name": "binary-csv",
"version": "0.1.7",
"version": "0.2.0",
"description": "A fast CSV binary data parser written in javascript",

@@ -15,4 +15,4 @@ "main": "index.js",

"dependencies": {
"through": "~2.3.4",
"extend": "~1.2.1"
"extend": "~1.2.1",
"through2": "^0.4.1"
},

@@ -19,0 +19,0 @@ "devDependencies": {

@@ -17,7 +17,7 @@ # binary-csv

[![http://requirebin.com/?gist=7555664](http://requirebin.com/badge.png)](http://requirebin.com/?gist=7555664)
[![http://requirebin.com/?gist=maxogden/7555664](http://requirebin.com/badge.png)](http://requirebin.com/?gist=maxogden/7555664)
You can also load any CSV on the internet via querystring, e.g.:
http://requirebin.com/embed?gist=7555664&csv=http://earthquake.usgs.gov/earthquakes/feed/v1.0/summary/all_month.csv
http://requirebin.com/embed?gist=maxogden/7555664&csv=http://earthquake.usgs.gov/earthquakes/feed/v1.0/summary/all_month.csv

@@ -24,0 +24,0 @@ Huge CSVs might be slow to render because of the terminal renderer used in the demo.

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