fast-json-stable-stringify provides a deterministic, faster alternative to JSON.stringify(), producing consistent JSON string output for the same object. It supports custom key comparison (opts.cmp) and can optionally handle circular references (opts.cycles) with a __cycle__ marker.
Project status
- The project appears largely mature and conservatively maintained, with a last upstream push dated 2023-07-03, but the most recent tagged update mentioned is v2.1.0 from 2019-12-14, suggesting updates are infrequent.
- Update cadence looks slow, with major changes in 2017 (v2.0.0, 1.0.2) and then only documentation and tooling adjustments in 2019 (v2.1.0), followed by no additional tagged version details in the provided history.
AI summary generated Today
Recent updates
v2.1.0
12/14/2019Release v2.1.0 primarily updates project documentation and development tooling. The code diff shows TypeScript type definition files were added, and CI and devDependencies were refreshed.
BreakingFeaturesv2.0.0
10/24/2017v2.0.0 removes the `replacer` and `space` options and refactors the stringifier to improve performance. The implementation is simplified to always produce compact JSON (no pretty-printing) and to omit the previous custom replacer and indentation logic.
Breaking1.0.2
10/24/2017This release removes a `jsonify` functionality from the project. If your code imports or relies on `jsonify`, you will need to update it to use the supported JSON response mechanism for this version.
Breaking