Trim newlines from the start and/or end of a string
Normalize the newline characters in a string to `\n`
Strip the final newline character from a string/buffer
A NodeJS module for converting newlines (\n) to line breaks (<br>)
CLI tool that trims trailing whitespace from a file and preserves the correct OS newlines.