6 lines
110 B
JavaScript
6 lines
110 B
JavaScript
|
function normalizeNewLines(str) {
|
||
|
return str.replace(/\r\n/g, "\n");
|
||
|
}
|
||
|
|
||
|
module.exports = normalizeNewLines;
|