npm

106 packages found

M
Q
P

Description

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

Keywords

Publisher

published 3.0.02 months ago
M
Q
P

Description

Detect the dominant newline character of a string

Keywords

Publisher

published 3.0.02 months ago
M
Q
P

Description

Stringify and write JSON to a file atomically

Keywords

Publisher

published 4.1.0a month ago
M
Q
P

Description

Remove final newline characters from a string

Keywords

Publisher

published 1.1.2a month ago
M
Q
P

Description

Wrap words to a specified length.

Keywords

Publisher

published 1.2.32 years ago
M
Q
P

Description

Similar to String#trim() but removes only newlines

Keywords

Publisher

published 1.0.13 years ago
M
Q
P

Description

Split lines into an array of lines

Keywords

Publisher

published 2.0.0a year ago
M
Q
P

Description

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

Keywords

Publisher

published 3.0.03 years ago
M
Q
P

Description

remark plugin to add break support, without needing spaces

Keywords

Publisher

published 1.0.310 days ago
M
Q
P

Description

A PassThrough stream that keeps track of last line written

Keywords

Publisher

published 1.0.03 years ago
M
Q
P

Description

Strip all newlines from the given string.

Keywords

Publisher

published 1.0.25 years ago
M
Q
P

Description

Parses lines from text, preserving line numbers, offsets and line endings.

Keywords

Publisher

published 4.1.42 years ago
M
Q
P

Description

Strip the final newline character from a string/buffer

Keywords

Publisher

published 2.0.08 months ago
M
Q
P

Description

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

Keywords

Publisher

published 1.0.04 years ago
M
Q
P

Description

Condense all string whitespace + options to preserve specific whitespace characters.

Keywords

Publisher

published 1.0.43 years ago
M
Q
P

Description

Extract a subset of lines from a string efficiently

Keywords

Publisher

published 1.0.3a year ago
M
Q
P

Description

Replace HTML <br> tags with newline characters.

Keywords

Publisher

published 1.0.03 months ago
M
Q
P

Description

Regular expression to split a newline delimited string.

Keywords

Publisher

published 1.0.04 years ago
M
Q
P

Description

remark-lint rule to warn when a newline at the end of a file is missing

Keywords

Publisher

published 1.0.35 days ago
M
Q
P

Description

Detect newline at end of file

Keywords

Publisher

published 1.0.0a year ago