Search results

51 packages found

Strip the final newline character from a string or Uint8Array

published version 4.0.0, a year ago1372 dependents licensed under $MIT
250,403,200

Detect the dominant newline character of a string

published version 4.0.1, 2 years ago1237 dependents licensed under $MIT
130,969,181

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

published version 5.0.0, 2 years ago672 dependents licensed under $MIT
68,532,726

Split lines into an array of lines

published version 3.0.0, 4 years ago91 dependents licensed under $MIT
695,707

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

published version 4.1.0, 4 years ago67 dependents licensed under $MIT
272,542

Detect and Normalize the newline characters

published version 1.0.20, a year ago51 dependents licensed under $ISC
547,043

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

published version 1.0.0, 10 years ago8 dependents licensed under $MIT
296,087

helpers for rocambole AST line break manipulation

published version 1.0.2, 9 years ago7 dependents licensed under $MIT
262,668

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

published version 4.0.1, 4 months ago25 dependents licensed under $MIT
93,613

Strip the final newline character from a string/buffer. This is a fork of sindresorhus/strip-final-newline, but with CommonJS support.

published version 3.0.1-cjs.0, 3 years ago1 dependents licensed under $MIT
58,163

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

published version 0.1.2, 11 years ago1 dependents
55,409

Simple and safety HTML/SVG cleaner to minify without changing its structure.

published version 3.0.8, 7 years ago51 dependents licensed under $MIT
24,921

A NodeJS module for converting newlines to line breaks

published version 0.0.3, 11 years ago27 dependents licensed under $MIT
15,916

Count the lines in a string.

published version 0.1.0, 11 years ago3 dependents
7,620

ESLint plugin to enforce newlines in ES6 object destructuring or import

published version 1.5.0, 3 years ago0 dependents licensed under $MIT
5,893

Simple and safety HTML/SVG cleaner to minify without changing its structure.

published version 2.7.22, 7 years ago13 dependents licensed under $MIT
9,126

Generate UTF8 texts into image with auto line break for all international language, including Chinese, Japanese, Korean, etc..

published version 1.0.1, 2 years ago1 dependents licensed under $MIT License
2,303

esformatter linebreak limit plugin

published version 0.0.3, 9 years ago5 dependents licensed under $MIT
705

Simple and safety HTML/SVG cleaner to minify without changing its structure.

published version 2.7.18, 7 years ago0 dependents licensed under $MIT
1,046

Typescript version of linebreak algorithm

published version 1.0.2, 6 years ago1 dependents licensed under $MIT
616