6 lines
110 B
JavaScript
Raw Normal View History

2019-11-26 14:50:43 -08:00
function normalizeNewLines(str) {
return str.replace(/\r\n/g, "\n");
}
module.exports = normalizeNewLines;