Comparing version 2.0.9 to 2.0.10
{ | ||
"name": "catchart", | ||
"version": "2.0.9", | ||
"version": "2.0.10", | ||
"description": "Pipe something from command line to a browser chart", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -14,3 +14,3 @@ const program = require('commander') | ||
This can be a singular value or an array. When "auto" is set, these fields will be "value" or "data". | ||
When input format is csv dataField is ignored`, 'auto') | ||
When input format is csv dataField is ignored`, config.dataField) | ||
.option('--labelSource <labelSource>', | ||
@@ -21,3 +21,3 @@ `When the input format is json, labels are obtained from each row using a specific field, specified through this option. | ||
to the data point. Setting labelSource to "row" will case the label to be extracted from the data, specifically the first | ||
value in each row will be considered the label`, 'auto') | ||
value in each row will be considered the label`, config.labelSource) | ||
.option('--showValueLabels', 'show labels on values in the chart', config.showValueLabels) | ||
@@ -28,4 +28,4 @@ .option('--noFill', 'Do not fill the area under the chart line with color', config.noFill) | ||
.option('--port <port>', 'hcat config: http port to use, defaults to a randomly picked port', 0) | ||
.option('--hostname <hostname>', 'hcat config: hostname of the http server', 'localhost') | ||
.option('--contentType <contentType>', 'hcat config: content type of the response', 'text/html') | ||
.option('--hostname <hostname>', 'hcat config: hostname of the http server', config.hostname) | ||
.option('--contentType <contentType>', 'hcat config: content type of the response', config.contentType) | ||
.option('--shutdownDelay <millis>', 'delay (in ms) before shutting down server once ths input stream ended', 1000) | ||
@@ -32,0 +32,0 @@ .parse(process.argv) |
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
602239