[FIG(quote)[
[FIGCAPTION[
[1] [CITE[canonical-json - npm]]
([TIME[2018-03-23 18:02:25 +09:00]])
<https://www.npmjs.com/package/canonical-json>
]FIGCAPTION]

> The goal of this module is to implement a version of JSON.stringify that returns a canonical JSON format.
> Canonical JSON means that the same object should always be stringified to the exact same string.

]FIG]

[2] [CITE@en[GitHub - mirkokiefer/canonical-json: Canonical JSON implementation - a repeatable version of JSON.stringify]], [TIME[2023-03-14T04:46:14.000Z]] <https://github.com/mirkokiefer/canonical-json>

[3] 同名のもの含め、似たようなものは他にもあります。
[SEE[ [[JSONもどき]] ]]