1.0.4 • Published 3 years ago

tidy-json v1.0.4

Weekly downloads
14
License
MIT
Repository
github
Last release
3 years ago

tidy-json

Simple recursive serializer of a JSON object into a string with newlines and spaces.

Install

Install using npm:

npm i tidy-json;

Usage

import tidyjson from 'tidy-json';
console.log(tidyjson({'hi':'world',something:['4','a','13ois', true, false, null, '42', 34], somethingElse:{'hey':'WORLD!', s3: {'new': 'saopg!!!'}}}));