1.2.1 • Published 4 years ago

json-field-size v1.2.1

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

json-field-size

A CLI tool to calculate size of all fields in a json, for memory analysis.

Dependency Status devDependency Status Build Status: Linux Build Status: Windows npm version Downloads type-coverage

install

yarn global add json-field-size

usage

run json-field-size test.json

┌─────────┬─────┬──────┬───────────┬─────────┐
│ (index) │ key │ size │ totalSize │ percent │
├─────────┼─────┼──────┼───────────┼─────────┤
│    0    │ 'b' │  7   │    29     │  75.9   │
│    1    │ 'a' │  17  │    29     │  41.4   │
└─────────┴─────┴──────┴───────────┴─────────┘

options

keydescription
--debugdebug mode
-h,--helpPrint this message.
-v,--versionPrint the version
1.2.1

4 years ago

1.2.0

4 years ago

1.1.0

5 years ago

1.0.0

5 years ago