eol-fix-stream

1.1.1 • Public • Published

eol fix stream

Build Coverage Maintainability Downloads Version Dependency Status

End all the things with lf.

Install

npm install --save eol-fix-stream

Use

var eolFix = require('eol-fix-stream');

var input = getInputStreamSomehow();
var output = getOutputStreamSomehow();

input.pipe(eolFix()).pipe(output);

For example, you can create a CLI module that reads standard input, fixes line endings, and writes to standard output in just two lines:

var eolFix = require('eol-fix-stream');

process.stdin.pipe(eolFix()).pipe(process.stdout);

/eol-fix-stream/

    Package Sidebar

    Install

    npm i eol-fix-stream

    Weekly Downloads

    428

    Version

    1.1.1

    License

    ISC

    Unpacked Size

    8 kB

    Total Files

    9

    Last publish

    Collaborators

    • kirilv