A customizable JSON formatter that serializes JavaScript values to formatted JSON strings with support for key sorting, custom replacers, and indentation control. Current version 0.0.1 is very early and not actively maintained; last release in 2016. Differentiates from JSON.stringify by default sorting keys alphabetically and providing a global defaults override through `json.defaults`. Minimal API with three options: replacer, sortKeys (default true), and spaces. Suitable for pretty-printing with consistent key order but lacks active development or recent updates.
No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
ESM import works; package does not export named exports, only default.
defaults is a property on the default export, not a named export.
No TypeScript types shipped; options type is inferred or defined manually.
Demonstrates default sorted output, disabling key sorting, and using a custom replacer to modify values.
Breaking-change detection hasn't run for this library yet.
CVE tracking and dependency tree are planned for a later release.
No traffic data recorded yet.