Unleash awesomeness. Private packages, team management tools, and powerful integrations. Get started with npm Orgs »

json-size-explorer

1.0.3 • Public • Published

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

Install

npm install -g json-size-explorer

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

install

npm i json-size-explorer

Downloadsweekly downloads

2

version

1.0.3

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability