Comparing version 0.3.4 to 0.3.5
@@ -19,2 +19,3 @@ #!/usr/bin/env node | ||
' --in-quotechar " ', | ||
' --in-json parse input as JSON (one object per row)', | ||
'', | ||
@@ -39,3 +40,3 @@ 'Stringifier options:', | ||
.string(['delimiter', 'quotechar', 'escapechar']) | ||
.boolean(['json', 'describe', 'merge', 'verbose', 'version']) | ||
.boolean(['json', 'describe', 'merge', 'verbose', 'version', 'in-json']) | ||
.alias({ | ||
@@ -52,2 +53,3 @@ j: 'json', | ||
quotechar: argv['in-quotechar'], | ||
json: argv['in-json'], | ||
}; | ||
@@ -54,0 +56,0 @@ var stringifier_opts = { |
@@ -56,3 +56,3 @@ 'use strict'; /*jslint node: true, es5: true, indent: 2 */ | ||
var parser = input.pipe(new Parser(parser_opts)); | ||
var parser = input.pipe((parser_opts.json) ? new streaming.json.Parser() : new Parser(parser_opts)); | ||
@@ -59,0 +59,0 @@ if (stringifier_opts.omit) { |
{ | ||
"name": "sv", | ||
"version": "0.3.4", | ||
"version": "0.3.5", | ||
"description": "Any separated values.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
45274
1009