NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #3953 most downloaded on npm
The best of both `JSON.stringify(obj)` and `JSON.stringify(obj, null, indent)`.
Last release 4 years ago
no release in 18 months
Release timing varies
gaps range from 4 weeks to 2.1 years
Nearly every release is documented
notes for 10 of 10 stable releases
Nothing withdrawn
no release was ever pulled
12 years old
10 releases · first in 2014
Changed: This is now an [ESM only package]. (I haven’t written that gist, but it’s a great resource.)
Changed: This is now an [ESM only package]. (I haven’t written that gist, but it’s a great resource.)
If you need CommonJS, install version 3.0.0. You won’t be missing out on anything: This package is done. No more features will be added, and no bugs have been found in years.
Changed: The TypeScript definition is now closer to JSON.stringify. It’s slightly stricter, but I doubt you’ll notice a difference.
JSON.stringify. It’s slightly stricter, but I doubt you’ll notice a difference."type": "commonjs", "exports": "./index.js", "types": "index.d.ts" to package.json. I doubt you’ll notice any difference from this either.One column per quarter.
Removed: The margins option. Check out [@aitodotai/json-stringify-pretty-compact] if you miss it. This package is now purely a combination of JSON.str
margins option. Check out [@aitodotai/json-stringify-pretty-compact] if you miss it. This package is now purely a combination of JSON.stringify(obj) and JSON.stringify(obj, null, 2) with no additional formatting features on top of that.undefined to options now result in the default value being used. This is to align with how destructuring defaults work in ES2015.Added: TypeScript definition. Thanks to @domoritz!
Added: The margins option. Thanks to @randallsquared!
margins option. Thanks to @randallsquared!Fixed: String contents are no longer accidentally modified in some cases. Thanks to @powellquiring!
No code changes. Just trying to get the readme to show on npmjs.com.
Improved: Limited npm package contents for a smaller download.
Fixed: Commas are now accounted for when calculating the available length of a line, so that they do not appear outside options.maxLength.
options.maxLength.[@aitodotai/json-stringify-pretty-compact]: https://www.npmjs.com/package/@aitodotai/json-stringify-pretty-compact [replacer]: https://developer.mozil
Your coding agent can read these notes before it upgrades. Set up the MCP server →