Showing 1-20 of 798 packages
Trim newlines from the start and/or end of a string
Replace extraneous newlines with a single newline, or pass a specified number of newlines to use.
Similar to String#trim() but removes only newlines
ESLint plugin for enforcing newlines in ES6 import statements past a certain number of items
Write nice template literals with newlines, but format as a single-line string
A little helper for handling strings containing zero width control characters, ANSI styling, whitespaces, newlines, 💩, etc.
Thin wrapper around fs.readFile and fs.readFileSync that also strips byte order marks when `utf8` encoding is chosen. Also optionally replaces windows newlines with unix newlines.
Template tag that takes out unwanted newlines
A NodeJS module for converting newlines to line breaks
newlines like '\n', '\n\r' to <br /> for React
Count the lines in a string, works with windows carriage returns or unix style newlines.
Eslint plugin for enforcing newlines in object destructuring assignment past a certain number of properties.
Template literal tag to remove excess whitespace and newlines from strings.
Add newlines to a string of text given a font style and width
Join an array of strings with newlines
Convert newlines '\n' to break '< brreact-newline-to-break >'. Made for React
Strip all newlines from the given string.
plugin for class-method-newlines eslint rule
ESLint rule to disallow newlines before parenthesis on single lines.
Converts URLs surrounded by newlines into embeds that are loaded asynchronously