1.0.83 • Published 6 months ago

yves-cli v1.0.83

Weekly downloads
20
License
ISC
Repository
github
Last release
6 months ago

yves-cli

CLI JSON inspector with yves from Joris Röling. Pretty colors!

Install

$ npm install -g yves-cli

Usage

$ yves --help
Usage: yves [options] <file ...>

  Options:

    -h, --help             output usage information
    -V, --version          output the version number
    --no-pretty            no pretty formatting
    --no-color             no color
    -m, --max-length <n>   max length
    -r, --root <path>      set dot notated root field
    -f, --fields <fields>  comma separated fields
    -q, --query <expr>     query data with expr (ala mongo)
    -h, --help             output usage information    

Examples

Sources

From file:

$ ls
package.json component.json

$ yves package.json

Or many files:

$ ls
package.json component.json

$ yves package.json component.json

Pipe from any source:

$ curl -s "https://api.github.com/users/jorisroling" | yves
$ echo '{"foo": {"bar": 0}}' | yves 
{
    foo: { bar: 0 }
}
1.0.83

6 months ago

1.0.82

1 year ago

1.0.81

2 years ago

1.0.80

2 years ago

1.0.79

2 years ago

1.0.78

2 years ago

1.0.77

2 years ago

1.0.76

3 years ago

1.0.75

3 years ago

1.0.74

3 years ago

1.0.73

3 years ago

1.0.72

5 years ago

1.0.71

5 years ago

1.0.70

5 years ago

1.0.68

5 years ago

1.0.67

5 years ago

1.0.11

5 years ago

1.0.10

5 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago

0.0.1

6 years ago