A tool to get more information about the size of a JSON document
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
dist
img
src
.gitignore
.travis.yml
LICENSE
README.md
demo.html
demo.js
index.js
package-lock.json
package.json
rollup.config.js

README.md

json-size-explorer

Get insight about the content of your JSON documents. Find what is taking the most space. Find duplicates, key size, depth, etc

GUI

http://everymscount.com/json-size-explorer/demo.html

Install

npm install -g json-size-explorer

Badges

Coverage Status

Commands

json-size-explorer --help

  Usage: json-size-explorer [options]

  Options:
    --path [string]  Path of JSON document
    --items [num]    Add the specified type of cheese [marble] (default: 5)
    -h, --help       output usage information

What can it do

  • file size
  • number of keys
  • size of all keys
  • count and size of each keys
  • count and size of each values
  • count of key-value combo to detect duplicated structures

Screenshot

capture

Changelog

1.0.3

  • Improve display of Key/Value. This helps finding pure duplication

1.0.2

  • Display the number of keys found in the document
  • Align data in the column to improve readability