Search results

50 packages found

Detect the dominant newline character of a string

published version 4.0.1, a year ago1214 dependents licensed under $MIT
77,910,675

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

published version 5.0.0, 2 years ago661 dependents licensed under $MIT
42,408,816

Strip the final newline character from a string or Uint8Array

published version 4.0.0, a year ago1329 dependents licensed under $MIT
159,143,145

Split lines into an array of lines

published version 3.0.0, 4 years ago88 dependents licensed under $MIT
345,949

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

published version 4.1.0, 4 years ago68 dependents licensed under $MIT
173,559

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
197,162

helpers for rocambole AST line break manipulation

published version 1.0.2, 9 years ago7 dependents licensed under $MIT
119,285

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
170,129

Detect and Normalize the newline characters

published version 1.0.20, a year ago51 dependents licensed under $ISC
158,419

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, 2 years ago1 dependents licensed under $MIT
52,586

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

published version 0.1.2, 11 years ago1 dependents
63,535

auto-wraps tailwind classes after a certain print width or class count into multiple lines to improve readability.

published version 1.8.2, 2 months ago4 dependents licensed under $MIT
14,824

A NodeJS module for converting newlines to line breaks

published version 0.0.3, 11 years ago27 dependents licensed under $MIT
20,255

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

published version 3.0.8, 7 years ago51 dependents licensed under $MIT
19,230

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

published version 2.7.22, 7 years ago12 dependents licensed under $MIT
8,795

Count the lines in a string.

published version 0.1.0, 10 years ago3 dependents
3,044

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,530

Line-by-line string iterator

published version 0.3.20, 11 hours ago1 dependents licensed under $MIT
1,664

esformatter linebreak limit plugin

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

ESLint plugin to enforce newlines in ES6 object destructuring or import

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