0.0.3 • Published 10 years ago
newline v0.0.3
newline
Install
Install with npm
npm install --save newline
Usage
// Detects the line ending used in the string source and returns "CR", "LF" or "CRLF"
newline.detect(source);
var newSource = newline.set(source, "LF"); // Sets the source to the specified line endings
0.0.3
10 years ago