trim-newlines
Trim newlines from the start and/or end of a string
Trim newlines from the start and/or end of a string
Detect the dominant newline character of a string
Newline character converter
Ensure a string has a single trailing newline based off it's dominant newline character.
Split lines into an array of lines
Normalize the newline characters in a string to `\n`
Determine whether a given string is a newline character.
Count the lines in a string, works with windows carriage returns or unix style newlines.
Detect and Normalize the newline characters
remark-lint rule to warn when linebreaks violate a given or detected style
Checks package.json main and bin paths
Count the lines in a string.
helps to detect and change line endings in strings
A Node.js module to convert text files with DOS line breaks to Unix line breaks, i.e. like using `dos2unix`.
A Node.js module to convert text files with DOS line breaks to Unix line breaks, i.e. like using `dos2unix`.
A duplex stream that normalizes the end of line characters
Determine EOL based on given text and OS.
get min/mid/max blank line length in text ( not include start/end line )
Normalize the newline characters in a string to `\n`
Detect the dominant newline character