Showing 1-20 of 1,754 packages
A small module for detecting line endings in files.
Detect the dominant newline character of a string
Strip the final newline character from a string or Uint8Array
Newline character converter
Normalize the newline characters in a string to `\n`
Ensure a string has a single trailing newline based off it's dominant newline character.
Streaming newline delimited json parser + serializer
Add or remove a terminating newline
Enforce placing import or export variables on a newline
remark-lint rule to warn when a newline at the end of a file is missing
Detect and Normalize the newline characters
Strip the final newline character from a string/buffer. This is a fork of sindresorhus/strip-final-newline, but with CommonJS support.
Return a regular expression to match a newline character sequence.
Unify newline characters to either \n, \r\n, or \r.
Regex for newline characters
Adds a newline to the end of esformatter output. Will not add newline is the output ends in a newline already.
Enforce placing import or export variables on a newline
Determine whether a given string is a newline character.
Replace extraneous newlines with a single newline, or pass a specified number of newlines to use.
Convert newlines '\n' to break '< brreact-newline-to-break >'. Made for React