Format JSON with beautiful color
npm install sys-prettier-jsonsh
npm i sys-prettier-json
`
or
`sh
yarn add sys-prettier-json
`$3
`js
// index.jsimport { prettyJson } from 'sys-prettier-json'
const json = JSON.parse('{ "sys": "Simple Yet Special", "awesome": true, "optional": null, "number": 2022}');
const htmlString = prettyJson(JSON.stringify(json, undefined, 4));
`License
Distributed under the MIT License. See
LICENSE.txt` for more information.Ishin Vin - ishin.pie@gmail.com