Skip to the content.

Jason Formatter

A small, fast JSON formatter.

npm npm downloads CI codecov

Usage

ESM only, types included: the same import works in Node.js, Bun and browsers.

import { jason } from "jason-formatter";

const data = `{"nick":9}`;

jason(data); /* {
  "nick": 9
}*/

Note

It’s basically a wrapper around JSON.stringify πŸ˜†

Support

Open an Issue, I will check it as soon as possible πŸ‘€

If you want to hurry me up a bit send me a tweet πŸ˜†

Don’t forget to star the repo ⭐

Versioning

We use Semantic Versioning. For the versions available, see the tags 🏷️

Licence

Licensed under the MIT License πŸ“„