npm

Need private packages and team management tools?Check out npm Orgs. »

eol-fix-stream

1.0.0 • Public • Published

eol fix stream

Build Test Coverage Code Climate 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);

install

npm i eol-fix-stream

Downloadsweekly downloads

217

version

1.0.0

license

ISC

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability