diff --git a/index.js b/index.js index 4b2f212..a58cffa 100644 --- a/index.js +++ b/index.js @@ -337,7 +337,7 @@ var form = { , println: function (rrs, ws, msg) { if ('string' !== typeof msg) { - msg = JSON.stringify(msg); + msg = JSON.stringify(msg, null, 2); } return ws.write(msg + '\n'); }