Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

json-summary

AndrewTBurks7.5kBSD-3-Clause1.3.0

A simple JSON summarizer to extract the structure from a JSON object

JSON, data, object, summary

readme

changelog

1.3.0 (May 19, 2020)

  • Add a basic CLI to run on a JSON file or pipe text into (@moos in #9)
  • Add an asJson flag to print a summary in a JSON object format (@moos in #9)

1.2.0 (May 17, 2020)

  • Add a new asText option to the printSummary method to output the JSON summary in plaintext + whitespace
  • Fix bug where Arrays would be improperly summarized other than on the first use on an object