NodeJs JSON Beautify

const noSpaces = 4

const beautifiedJson = JSON.stringify(myData, null, noSpaces)
florinrelea