JSONStream
Advanced tools
Comparing version 0.6.3 to 0.6.4
{ | ||
"name": "JSONStream", | ||
"version": "0.6.3", | ||
"version": "0.6.4", | ||
"description": "rawStream.pipe(JSONStream.parse()).pipe(streamOfObjects)", | ||
@@ -19,3 +19,4 @@ "homepage": "http://github.com/dominictarr/JSONStream", | ||
"trees": "~0.0.3", | ||
"event-stream": "~0.7.0" | ||
"event-stream": "~0.7.0", | ||
"tape": "~0.2.2" | ||
}, | ||
@@ -22,0 +23,0 @@ "author": "Dominic Tarr <dominic.tarr@gmail.com> (http://bit.ly/dominictarr)", |
var fs = require('fs') | ||
var JSONStream = require('../') | ||
var file = '/tmp/JSONStream-test-large.json' | ||
var size = 100000 | ||
var file = process.argv[2] || '/tmp/JSONStream-test-large.json' | ||
var size = Number(process.argv[3] || 100000) | ||
if(process.title != 'browser') | ||
@@ -6,0 +6,0 @@ require('tape')('out of mem', function (t) { |
393981
6