Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@codemeistre/stream-add-lf

Package Overview
Dependencies
Maintainers
2
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@codemeistre/stream-add-lf

A small transform stream that adds line feed after each line or only after JSON lines.

latest
Source
npmnpm
Version
2.1.1
Version published
Maintainers
2
Created
Source

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

Keywords

transform

FAQs

Package last updated on 28 Mar 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts