Nodejs Json украшайте

const noSpaces = 4

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