beautify JSON output
This commit is contained in:
parent
2cf94ca8af
commit
921f89b076
1 changed files with 2 additions and 1 deletions
|
@ -1,4 +1,5 @@
|
|||
const parseJson = data => JSON.stringify(data);
|
||||
// Beautify JSON
|
||||
const parseJson = data => JSON.stringify(data, null, "\t");
|
||||
|
||||
// No need for an external module:
|
||||
// https://gist.github.com/btzr-io/55c3450ea3d709fc57540e762899fb85
|
||||
|
|
Loading…
Reference in a new issue