Skip to content

🔦 Robust manipulation and inspection of JSON data using the already familiar Chromium Devtools

License

Notifications You must be signed in to change notification settings

queckezz/inspect-json

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

./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

About

🔦 Robust manipulation and inspection of JSON data using the already familiar Chromium Devtools

Resources

License

Stars

Watchers

Forks

Packages

No packages published