Search results
57 packages found
Detect the dominant newline character of a string
Trim newlines from the start and/or end of a string
Strip the final newline character from a string/buffer
ESLint plugin to enforce newlines in ES6 object destructuring or import
Normalize the newline characters in a string to `\n`
Split emoji text into multiple lines.
Detect and Normalize the newline characters
get min/mid/max blank line length in text ( not include start/end line )
Count the lines in a string, works with windows carriage returns or unix style newlines.
Unicode line-breaking algorithm from UAX #14
Wrap lines using the Unicode Line Breaking algorithm from UAX #14
Count the lines in a string.
Simple and safety HTML/SVG cleaner to minify without changing its structure.
Generate UTF8 texts into image with auto line break for all international language, including Chinese, Japanese, Korean, etc..
Wrap lines using the Unicode Line Breaking algorithm from UAX #14
Generate UTF8 texts into image with auto line break for all international language, including Chinese, Japanese, Korean, etc..
Simple and safety HTML/SVG cleaner to minify without changing its structure.
Split lines into an array of lines
## Note on Node.js
Break a string to lines at newlines, and either wrap each line by a configurable wrapper or append a <br /> to each line.