json-nice is a simple JSON formatting library (v1.1.0) that pretty-prints JavaScript objects with customizable indentation. It supports options like indent character and size. No breaking changes known. Minimal alternative to built-in JSON.stringify with more control over formatting.
npm install json-niceNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows basic usage of json-nice to format a JavaScript object with custom indentation.
Use require() instead of import.
Create a .d.ts file or use @ts-ignore.
Use const format = require('json-nice'); instead of import.No dependency data recorded yet.