2.1.1 • Published 2 years ago

@codemeistre/stream-add-lf v2.1.1

Weekly downloads
3
License
MIT
Repository
github
Last release
2 years ago

stream-add-lf

npm npm

A small transform stream that adds line feed (\n or \r\n) after each line or only after JSON lines.

Instalation

# using NPM
npm i -g @codemeistre/stream-add-lf

# or using Yarn
yarn global add @codemeistre/stream-add-lf

Usage

node your-app.js | stream-add-lf #[OPTION]...
OptionTypeDefaultDescription
--version, -vboolean-Show this package's version and exit.
--all, -AbooleanfalseAdd LF (or CRLF if using with -F) after every line.
--crlf, -FbooleanfalseUse CRLF (\r\n) line endings instead of LF (\n).

License

MIT