eyes-cli

0.0.5 • Public • Published

eyes-cli

NPM version NPM dependencies

CLI JSON inspector with eyes.js from cloudhead. Pretty colors!

Install

$ npm install -g eyes-cli

Usage

$ eyes --help
Usage: eyes [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

Examples

Sources

From file:

$ ls
package.json component.json
 
$ eyes package.json

Or many files:

$ ls
package.json component.json
 
$ eyes package.json component.json

Pipe from any source:

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

Package Sidebar

Install

npm i eyes-cli

Weekly Downloads

3

Version

0.0.5

License

none

Unpacked Size

7.74 kB

Total Files

11

Last publish

Collaborators

  • adjohnson916