@codemeistre/stream-add-lf

2.1.1 • Public • Published

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]...
Option Type Default Description
--version, -v boolean - Show this package's version and exit.
--all, -A boolean false Add LF (or CRLF if using with -F) after every line.
--crlf, -F boolean false Use CRLF (\r\n) line endings instead of LF (\n).

License

MIT

/@codemeistre/stream-add-lf/

    Package Sidebar

    Install

    npm i @codemeistre/stream-add-lf

    Weekly Downloads

    0

    Version

    2.1.1

    License

    MIT

    Unpacked Size

    3.5 kB

    Total Files

    3

    Last publish

    Collaborators

    • foliveirafilho
    • codemeistre-bot
    • micalevisk