Back to Explore

samn/json-stable-stringify

GitHub
1 watchersOpen source

Last release: 2/2/2016

Provides a deterministic alternative to JavaScript’s JSON.stringify, producing a consistent string from the same object so you can generate stable hashes. Useful when you need repeatable JSON output, with options for custom key comparison (opts.cmp), indentation (opts.space), and a standard JSON-style replacer.

Project status

  • The last listed upstream push is 2021-04-11, and the most recent published version in the provided history is 1.0.1 from 2016-02-02, suggesting the project is not actively updated in the near term.
  • Apparent update cadence is very infrequent (major change in 2014, another update around 2016, and no newer versions shown after 1.0.1 in the provided data).

AI summary generated Today

AI-generated from public sources. May be inaccurate. Report

Recent updates

  • 1.0.1

    2/2/2016

    Release 1.0.1 includes a small change to the stable JSON stringifier implementation, plus a new regression test. The code modification adjusts how the serializer tracks previously visited objects to avoid incorrectly marking repeated, non-cyclic references as cycles.

  • 1.0.0

    5/27/2014

    This release (1.0.0) introduces significant functionality in the main stringify implementation, adding an `opts.replacer` option and changing how undefined values are handled during serialization. The provided release notes are empty, so none of these changes are documented there.

    BreakingFeatures
  • 0.1.3

    5/27/2014

    Release 0.1.3 was published on 2014-05-27, but no release notes were provided by the publisher. As a result, there is no documented information about new functionality, fixes, or potential breaking changes in this release.