Detect the dominant newline character of a string
MIT License
Prepend `<br>` to newlines in a string
Detect the dominant newline character
Pad each line in a stream
Detect the indentation of code
Normalize the newline characters in a string to `\n`
Detect whether the terminal supports Unicode
Strip the final newline character from a string/buffer
Strip redundant indentation and indent the string
Strip leading whitespace from each line in a string
Check if a string is HTML
Remove leading, trailing and repeated whitespace from a string
Regular expression for matching JavaScript identifiers
Indent each line in a string