normalize-newline-cli

Normalize the newline characters in a string to `\n`


Keywords
cli-app, cli, newline, linebreak, line, lf, crlf, eol, linefeed, character, normalize, convert, replace
License
MIT
Install
npm install normalize-newline-cli@2.0.0

Documentation

normalize-newline-cli

Normalize the newline characters in a string to \n

Install

npm install --global normalize-newline-cli

Usage

$ normalize-newline --help

  Usage
    $ normalize-newline <string>
    $ cat file.txt | normalize-newline

  Example
    $ cat mixed-newlines.txt | normalize-newline > lf-newlines.txt

Related