detect-newline140.5mMIT4.0.1Detect the dominant newline character of a string
sindresorhusabout 2 yearsnewline, linebreak, line-break, line trim-newlines62mMIT5.0.0Trim newlines from the start and/or end of a string
sindresorhusover 2 yearsnewline, newlines, trim, linebreak word-wrap198.1mMIT1.2.5Wrap words to a specified length.
jonschlinkertabout 2 yearsnew-line, newline, break, carriage