Search results

43 packages found

Detect the dominant newline character of a string

published version 4.0.1, a year ago1214 dependents licensed under $MIT
81,661,043

Trim newlines from the start and/or end of a string

published version 5.0.0, 2 years ago661 dependents licensed under $MIT
44,369,798

Newline character converter

published version 0.10.0, 5 months ago202 dependents licensed under $MIT
5,520,133

Split lines into an array of lines

published version 3.0.0, 4 years ago88 dependents licensed under $MIT
355,357

Normalize the newline characters in a string to `\n`

published version 4.1.0, 4 years ago68 dependents licensed under $MIT
183,481

Ensure a string has a single trailing newline based off it's dominant newline character.

published version 1.0.0, 9 years ago8 dependents licensed under $MIT
203,367

remark-lint rule to warn when linebreaks violate a given or detected style

published version 4.0.0, 9 months ago22 dependents licensed under $MIT
174,107

Detect and Normalize the newline characters

published version 1.0.20, a year ago51 dependents licensed under $ISC
165,016

Count the lines in a string, works with windows carriage returns or unix style newlines.

published version 0.1.2, 11 years ago1 dependents
64,879

Determine EOL based on given text and OS.

published version 1.0.19, a month ago1 dependents licensed under $MIT
6,847

Count the lines in a string.

published version 0.1.0, 10 years ago3 dependents
3,044

Determine whether a given string is a newline character.

published version 1.0.0, 9 years ago1 dependents licensed under $MIT
3,731

Checks package.json main and bin paths

published version 3.0.0, 3 years ago8 dependents licensed under $MIT
3,204

A Node.js module to convert text files with DOS line breaks to Unix line breaks, i.e. like using `dos2unix`.

published version 1.1.2, 9 years ago4 dependents
573

get min/mid/max blank line length in text ( not include start/end line )

published version 2.0.8, a year ago4 dependents licensed under $ISC
145

A Node.js module to convert text files with DOS line breaks to Unix line breaks, i.e. like using `dos2unix`.

published version 1.1.3, 10 years ago3 dependents licensed under $MIT
123

Transform stream which splits streamed data.

published version 0.2.2, 6 months ago1 dependents licensed under $Apache-2.0
110

Replace pictures for control character codes with actual control characters

published version 2.0.1, 3 years ago1 dependents licensed under $MIT
74

helps to detect and change line endings in strings

published version 0.1.0, 9 years ago3 dependents licensed under $MIT
44

Identify and convert line terminators from strings

published version 2.0.0, 3 years ago0 dependents licensed under $ISC
40