Read/Write to External TXT File?

I hope this is the right forum to post in...
I found a video on how to read and write to an external TXT file in MV, but it seems to only work with one line.
I tried to use a "return" in the code, and it only came up with an error.
What I'm using this script for requires me to write to multiple lines in one TXT file, so I was wondering if there was a way to do that, with a plugin or otherwise?
I shouldn't have to worry about having the game read the TXT files, though.
Thank you in advance!
This might help you:

http://endlessillusoft.com/rpgmakermv-node-js-part-1-reading-and-writing-files/

Talks about how to read and write to an external text file. This will work for Desktop games only though, if you want to have it work on a browser game, you'll have to make a few changes.
Thank you so much Kino, however, it still only seems to let me use a single line. Is there a way I can fix this?
The concept of a multiline string is just a thought.

To make a multiline string in JS:
Use `This respects linebreaks` instead of "This also \n Has line breaks " if you uae \n you can also add new lines.
Thank you so much again Kino, but for some reason, using \n (and even \r, as I have also discovered) does not seem to change anything.
I thought it was just the program, but when I tried the code I found in the video earlier, it still didn't work.

The way I typed it was like so:

Spoiler: Script
MVNodeFS.writeFile(".", "title.txt", "This should \n have \n line breaks.")

Is there something I'm missing?

EDIT: I should probably mention that I wrote a low-effort HTML script (with JS inserted into it) to test \n, and it worked just fine there, but not in RPGMV.
Oh hmmm, that's strange; one thing that might be causing it is that your operating system may not like that format.

A random blurb:
If you use Mac, for example, \n isn't considered linebreak. On Mac, I believe it's \r\n.
Did the title text show the \n in the file?

@Wrongful
I checked it out and \r\n does work.
http://prntscr.com/fu1hie
Nope, I use Windows 10.
The \n did not show up in the file made, oddly.

After a bit of messing around, it seems my issue was that I was using \n\r. \r\n worked for me. Thank you so much for the help, Kino!

Original thread: https://forums.rpgmakerweb.com/threads/read-write-to-external-txt-file.81074/