prettify-json
v1.0.0
Published
prettify json object for output
Downloads
516
Readme
prettify-json
prettify json object for output
const prettifyJSON = require('prettify-json');
const o = {
name: 'hello'
};
const json = prettifyJSON(o);
then you can use it in html template file
<pre>
{{json}}
</pre>