npm 包搜索

搜索 npm 上的 JavaScript 依赖包

搜索 "Newline" 的结果(共 25 个)
detect-newline

Detect the dominant newline character of a string

MIT
strip-eof

Strip the final newline character from a string/buffer

MIT
ndjson

Streaming newline delimited json parser + serializer

BSD-3-Clause
linerstream

Split a readable stream by newline characters

ISC
strip-final-newline

Strip the final newline character from a string or Uint8Array

MIT
crlf

detect and change newline endings

MIT
format-json-stream

Formats a JSON stream to make it more readable by adding proper indentation and newlines.

remark-lint-final-newline

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

MIT
trim-newlines

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

MIT
read-file

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.

MIT
deline

Template tag that takes out unwanted newlines

MIT
cr

Strip windows carriage returns, or convert carriage returns to newlines.

MIT
count-lines

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

on-new-line

Hijacks NodeJS Stream and emits events when newline(s) written to the output.

MIT
trailing-newline

Check whether a string ends with a newline

MIT
eol-converter-cli

Newline converter CLI for simple CRLF -> LF (and reverse) convertions of multiple files.

Apache 2.0
newline-decoder

Simple chunked decoder for newline delimited string

MIT
single-trailing-newline

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

MIT
remark-tight-comments

remark plugin to selectively remove newlines around comments

MIT