Search results

51 packages found

Strip the final newline character from a string or Uint8Array

published version 4.0.0, a year ago1373 dependents licensed under $MIT
247,586,755

Detect the dominant newline character of a string

published version 4.0.1, 2 years ago1237 dependents licensed under $MIT
131,659,405

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

published version 5.0.0, 2 years ago672 dependents licensed under $MIT
69,178,574

Split lines into an array of lines

published version 3.0.0, 4 years ago92 dependents licensed under $MIT
695,564

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

published version 4.1.0, 4 years ago67 dependents licensed under $MIT
268,209

Detect and Normalize the newline characters

published version 1.0.20, a year ago51 dependents licensed under $ISC
571,409

helpers for rocambole AST line break manipulation

published version 1.0.2, 9 years ago7 dependents licensed under $MIT
298,804

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
299,366

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

published version 0.1.2, 11 years ago1 dependents
81,402

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
97,190

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
62,375

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

published version 3.0.8, 7 years ago51 dependents licensed under $MIT
26,413

A NodeJS module for converting newlines to line breaks

published version 0.0.3, 11 years ago27 dependents licensed under $MIT
13,907

Count the lines in a string.

published version 0.1.0, 11 years ago3 dependents
6,797

ESLint plugin to enforce newlines in ES6 object destructuring or import

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

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

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

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

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

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

published version 3.1.0, 7 days ago4 dependents licensed under $MIT
866

esformatter linebreak limit plugin

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