npm 包搜索

搜索 npm 上的 JavaScript 依赖包

搜索 "newlines" 的结果(共 10 个)
format-json-stream

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

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.

remark-tight-comments

remark plugin to selectively remove newlines around comments

MIT