{"id":16770452,"url":"https://github.com/loklaan/print-json-key-size-cli","last_synced_at":"2025-04-05T08:12:51.711Z","repository":{"id":47901981,"uuid":"241478800","full_name":"loklaan/print-json-key-size-cli","owner":"loklaan","description":"Prints the size of root keys in a JSON file","archived":false,"fork":false,"pushed_at":"2021-08-12T00:55:53.000Z","size":41,"stargazers_count":1,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-04-14T06:15:31.443Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/loklaan.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-02-18T22:12:51.000Z","updated_at":"2024-04-14T06:15:31.445Z","dependencies_parsed_at":"2022-09-03T19:10:43.200Z","dependency_job_id":null,"html_url":"https://github.com/loklaan/print-json-key-size-cli","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loklaan%2Fprint-json-key-size-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loklaan%2Fprint-json-key-size-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loklaan%2Fprint-json-key-size-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loklaan%2Fprint-json-key-size-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/loklaan","download_url":"https://codeload.github.com/loklaan/print-json-key-size-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247305944,"owners_count":20917208,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-13T06:24:17.465Z","updated_at":"2025-04-05T08:12:51.686Z","avatar_url":"https://github.com/loklaan.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Print JSON Sizes CLI\n\n![npm](https://img.shields.io/npm/v/print-json-key-size-cli)\n\nPrint the size of JSON keys, in Byte/KB/MB.\n\n`print-json-size ./file.json`\n```\n JSON file size, broken-down by root keys.\n\n  ./package.json\n\n  {\n     \"description\"          19% 73 b\n     \"dependencies\"         16% 60 b\n     \"author\"               13% 50 b\n     \"bin\"                  11% 43 b\n     \"name\"                 10% 39 b\n     \"files\"                10% 39 b\n     \"version\"               5% 20 b\n     \"main\"                  5% 20 b\n     \"license\"               5% 17 b\n  }                             384 b total\n```\n\n## Getting started\n\nRun the following against a `.json` file.\n\n```shell\n# Install globally\nnpm install -g print-json-key-size-cli\njson-key-size ./file.json\n\n# Or, invoke directly\nnpx print-json-key-size-cli ./file.json\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Floklaan%2Fprint-json-key-size-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Floklaan%2Fprint-json-key-size-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Floklaan%2Fprint-json-key-size-cli/lists"}