Categories JavaScript Answers How to create line breaks in console.log() in Node.js? Post author By John Au-Yeung Post date September 12, 2022 No Comments on How to create line breaks in console.log() in Node.js? Spread the love To create line breaks in console.log() in Node.js, we log '\n'. For instance, we write console.log({ a: 1 }, "\n", { b: 3 }, "\n", { c: 3 }); to log line breaks with '\n'. Related Posts How to create line breaks in console.log() in Node.js and JavaScript?Sometimes, we want to create line breaks in console.log() in Node.js and JavaScript. In this… How to add line breaks in Node Jade?To add line breaks in Node Jade, we add a br element. For instance, we… How to read from stdin line by line in Node?Sometimes, we want to read from stdin line by line in Node. In this article,… By John Au-Yeung Web developer specializing in React, Vue, and front end development. View Archive → ← How to write to S3 with Node AWS Lambda function? → How to use a self signed certificate for a HTTPS Node.js server? Leave a Reply Cancel replyYour email address will not be published. Required fields are marked *Comment * Name * Email * Website Save my name, email, and website in this browser for the next time I comment. Current ye@r * Leave this field empty