tty-table
Advanced tools
Comparing version 2.4.0 to 2.4.1
@@ -1,4 +0,4 @@ | ||
## Using tty-table as a terminal application: | ||
# Using tty-table as a terminal application: | ||
### Installation | ||
## Installation | ||
@@ -10,8 +10,8 @@ ``` | ||
### Example Usage | ||
## Example Usage | ||
#### Inline | ||
### Inline | ||
- Pipe some inline JSON to tty-table: | ||
- Pipe some inline data to tty-table: | ||
@@ -22,10 +22,4 @@ ``` | ||
- Pipe some inline CSV to tty-table: | ||
### Files | ||
``` | ||
echo '"name","price";"aapl",92.50;"ibm",120.15' | tty-table --format=csv | ||
``` | ||
#### Files | ||
- Pipe a csv file to tty-table via the command line: | ||
@@ -37,3 +31,3 @@ | ||
#### Streams | ||
### Streams | ||
@@ -49,5 +43,5 @@ - Pipe a stream JSON to tty-table via the command line: | ||
### Example Stream Output | ||
## Example Stream Output | ||
![Terminal Example](https://cloud.githubusercontent.com/assets/7478359/15691533/39f5fed4-273e-11e6-81a6-533bd8dbd1c4.gif "Terminal Example") | ||
{ | ||
"name": "tty-table", | ||
"version": "2.4.0", | ||
"version": "2.4.1", | ||
"description": "Command line table generator.", | ||
@@ -40,3 +40,4 @@ "main": "src/main.js", | ||
"strip-ansi": "^3.0.0", | ||
"wcwidth": "^1.0.1" | ||
"wcwidth": "^1.0.1", | ||
"yargs": "^8.0.1" | ||
}, | ||
@@ -43,0 +44,0 @@ "devDependencies": { |
@@ -7,6 +7,6 @@ # tty-table | ||
# Using tty-table as a terminal application: | ||
## Installation | ||
- As a [terminal application](docs/terminal.md): | ||
``` | ||
@@ -17,35 +17,2 @@ $ sudo apt-get install nodejs | ||
## Example Usage | ||
### Inline | ||
- Pipe some inline data to tty-table: | ||
``` | ||
echo '[["name","price"],["aapl",92.50],["ibm",120.15]]' | tty-table --format=json | ||
``` | ||
### Files | ||
- Pipe a csv file to tty-table via the command line: | ||
``` | ||
$ cat examples/data/data.csv | tty-table | ||
``` | ||
### Streams | ||
- Pipe a stream JSON to tty-table via the command line: | ||
``` | ||
$ node examples/data/streamer.js | tty-table --format==JSON | ||
``` | ||
*CSV is the default input format. | ||
## Example Stream Output | ||
![Terminal Example](https://cloud.githubusercontent.com/assets/7478359/15691533/39f5fed4-273e-11e6-81a6-533bd8dbd1c4.gif "Terminal Example") | ||
- As a Nodejs module: | ||
@@ -52,0 +19,0 @@ |
1497648
8
42
19923
339
+ Addedyargs@^8.0.1
+ Addedansi-regex@3.0.1(transitive)
+ Addedcamelcase@4.1.0(transitive)
+ Addedcliui@3.2.0(transitive)
+ Addedcode-point-at@1.1.0(transitive)
+ Addedcross-spawn@5.1.0(transitive)
+ Addederror-ex@1.3.2(transitive)
+ Addedexeca@0.7.0(transitive)
+ Addedfind-up@2.1.0(transitive)
+ Addedfunction-bind@1.1.2(transitive)
+ Addedget-caller-file@1.0.3(transitive)
+ Addedget-stream@3.0.0(transitive)
+ Addedgraceful-fs@4.2.11(transitive)
+ Addedhasown@2.0.2(transitive)
+ Addedhosted-git-info@2.8.9(transitive)
+ Addedinvert-kv@1.0.0(transitive)
+ Addedis-arrayish@0.2.1(transitive)
+ Addedis-core-module@2.14.0(transitive)
+ Addedis-fullwidth-code-point@1.0.02.0.0(transitive)
+ Addedis-stream@1.1.0(transitive)
+ Addedisexe@2.0.0(transitive)
+ Addedlcid@1.0.0(transitive)
+ Addedload-json-file@2.0.0(transitive)
+ Addedlocate-path@2.0.0(transitive)
+ Addedlru-cache@4.1.5(transitive)
+ Addedmem@1.1.0(transitive)
+ Addedmimic-fn@1.2.0(transitive)
+ Addednormalize-package-data@2.5.0(transitive)
+ Addednpm-run-path@2.0.2(transitive)
+ Addednumber-is-nan@1.0.1(transitive)
+ Addedos-locale@2.1.0(transitive)
+ Addedp-finally@1.0.0(transitive)
+ Addedp-limit@1.3.0(transitive)
+ Addedp-locate@2.0.0(transitive)
+ Addedp-try@1.0.0(transitive)
+ Addedparse-json@2.2.0(transitive)
+ Addedpath-exists@3.0.0(transitive)
+ Addedpath-key@2.0.1(transitive)
+ Addedpath-parse@1.0.7(transitive)
+ Addedpath-type@2.0.0(transitive)
+ Addedpify@2.3.0(transitive)
+ Addedpseudomap@1.0.2(transitive)
+ Addedread-pkg@2.0.0(transitive)
+ Addedread-pkg-up@2.0.0(transitive)
+ Addedrequire-main-filename@1.0.1(transitive)
+ Addedresolve@1.22.8(transitive)
+ Addedsemver@5.7.2(transitive)
+ Addedshebang-command@1.2.0(transitive)
+ Addedshebang-regex@1.0.0(transitive)
+ Addedsignal-exit@3.0.7(transitive)
+ Addedspdx-correct@3.2.0(transitive)
+ Addedspdx-exceptions@2.5.0(transitive)
+ Addedspdx-expression-parse@3.0.1(transitive)
+ Addedspdx-license-ids@3.0.18(transitive)
+ Addedstring-width@1.0.22.1.1(transitive)
+ Addedstrip-ansi@4.0.0(transitive)
+ Addedstrip-bom@3.0.0(transitive)
+ Addedstrip-eof@1.0.0(transitive)
+ Addedsupports-preserve-symlinks-flag@1.0.0(transitive)
+ Addedvalidate-npm-package-license@3.0.4(transitive)
+ Addedwhich@1.3.1(transitive)
+ Addedwrap-ansi@2.1.0(transitive)
+ Addedy18n@3.2.2(transitive)
+ Addedyallist@2.1.2(transitive)
+ Addedyargs@8.0.2(transitive)
+ Addedyargs-parser@7.0.0(transitive)