Robust manipulation and inspection of JSON data using the already familiar Chromium Devtools - It allows for quick inspection of arbitrary JSON strucures. Allows JSON to be passed in from URLs, Files and process.stdin. The JSON can be manipulated while inspecting by accessing window.json through the console.
> npm install -g inspect-json
Inspect JSON from the following types.
File:
> inspect-json example.json
REST Endpoint:
> inspect-json https://api.github.com/users/mbostock
Standard Input (CLI):
> echo { "test": true } | inspect-json
Inspecting webpack output stats:
Let's say you have a webpack stats object that you want to analyse. How would you go about doing that? Just pipe it into inspect-json
> webpack --stats | inspect-json