You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sorry for lack of information about my usecase. I used this npm for command line tool which is run on node.js. I didn't thik about the case running on Browser. I'm not familiar with Browser JS, but I explore some library implementation. The following implementation seems similar to the example you've mentioned. Thank you.
Current implementation is the following.
On Windows, the line separator
\r\n
is correct, but it is not correct separator on Linux/Mac. Could you consider to useos.EOL
?https://nodejs.org/api/os.html#os_os_eol
The text was updated successfully, but these errors were encountered: