Search results

51 packages found

Strip the final newline character from a string or Uint8Array

published version 4.0.0, 2 years ago1264 dependents licensed under $MIT
287,856,181

Detect the dominant newline character of a string

published version 4.0.1, 2 years ago1121 dependents licensed under $MIT
160,142,413

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

published version 5.0.0, 2 years ago582 dependents licensed under $MIT
89,534,779

Split lines into an array of lines

published version 3.0.0, 4 years ago90 dependents licensed under $MIT
768,397

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

published version 4.1.0, 4 years ago64 dependents licensed under $MIT
356,407

Detect and Normalize the newline characters

published version 1.0.20, a year ago51 dependents licensed under $ISC
595,796

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
378,076

helpers for rocambole AST line break manipulation

published version 1.0.2, 9 years ago7 dependents licensed under $MIT
370,533

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

published version 3.4.4, 3 days ago13 dependents licensed under $MIT
47,181

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

published version 4.0.1, 5 months ago26 dependents licensed under $MIT
86,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
93,514

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
79,206

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

published version 3.0.8, 7 years ago50 dependents licensed under $MIT
28,236

ESLint plugin to enforce newlines in ES6 object destructuring or import

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

A NodeJS module for converting newlines to line breaks

published version 0.0.3, 11 years ago22 dependents licensed under $MIT
14,082

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

Count the lines in a string.

published version 0.1.0, 11 years ago3 dependents
5,105

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

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

esformatter linebreak limit plugin

published version 0.0.3, 10 years ago5 dependents licensed under $MIT
1,886

CJS version: Strip the final newline character from a string/buffer

published version 3.0.0, 3 years ago1 dependents licensed under $MIT
993