Skip to content

Latest commit

 

History

History
69 lines (42 loc) · 1.8 KB

readme.md

File metadata and controls

69 lines (42 loc) · 1.8 KB

./banner

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 version dependency status license js standard style downloads per month

Installation

> npm install -g inspect-json

Examples

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

License

MIT