Search results

50 packages found

Strip the final newline character from a string or Uint8Array

published version 4.0.0, a year ago1353 dependents licensed under $MIT
234,202,085

Detect the dominant newline character of a string

published version 4.0.1, a year ago1222 dependents licensed under $MIT
117,700,454

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

published version 5.0.0, 2 years ago671 dependents licensed under $MIT
61,402,416

Split lines into an array of lines

published version 3.0.0, 4 years ago89 dependents licensed under $MIT
502,085

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

published version 4.1.0, 4 years ago68 dependents licensed under $MIT
236,944

Detect and Normalize the newline characters

published version 1.0.20, a year ago51 dependents licensed under $ISC
398,962

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
255,550

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

published version 4.0.1, a month ago23 dependents licensed under $MIT
180,757

helpers for rocambole AST line break manipulation

published version 1.0.2, 9 years ago7 dependents licensed under $MIT
138,836

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
72,304

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

published version 0.1.2, 11 years ago1 dependents
54,380

A NodeJS module for converting newlines to line breaks

published version 0.0.3, 11 years ago27 dependents licensed under $MIT
35,115

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

published version 1.9.1, 8 days ago4 dependents licensed under $MIT
34,346

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

published version 3.0.8, 7 years ago51 dependents licensed under $MIT
25,343

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

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
3,220

Count the lines in a string.

published version 0.1.0, 11 years ago3 dependents
2,457

esformatter linebreak limit plugin

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

ESLint plugin to enforce newlines in ES6 object destructuring or import

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

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

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