A lightweight interactive json workbench
Last updated 6 years ago by mal .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install jsonyx -g
SYNC missed versions from official npm registry.


A lightweight interactive JSON parser/inspector that leverages the full power of Node.js, or for those that prefer: CoffeeScript.


It's recommended to install jsonyx globally so it can be used from anywhere.

sudo npm install -g jsonyx


Typical usage might look something like this, where the curl is outputting a JSON payload. When the REPL begins the data variable holds the parsed payload.

$ curl http://my.json.app/endpoint | jsonyx
> data.map(function (a) { return a.b.c; });
[ 'foo',
  'baz' ]


usage: jsonyx [options] [file]...

  -c, --coffee          use CoffeeScript, if installed
  -e, --eval script     evaluate script, print result
  -h, --help            this message
  -l, --lines           treat each line as a separate JSON document
  -s, --script path     read script from path


Line Mode

When using line mode with a REPL, lines will be buffered to an array which will be available via data. This differs slightly from using line mode with a script, where the script will be run against each line, and data will hold that single parsed line.

Current Tags

  • 0.1.2                                ...           latest (6 years ago)

4 Versions

  • 0.1.2                                ...           6 years ago
  • 0.1.1                                ...           6 years ago
  • 0.1.0                                ...           6 years ago
  • 0.0.1                                ...           6 years ago
Maintainers (1)
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 1
Last Month 3
Dependencies (3)
Dev Dependencies (0)
Dependents (2)

Copyright 2014 - 2017 © taobao.org |