gulp-eol

Replace or append EOL end of file

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
gulp-eol
800.2.05 years ago9 years agoMinified + gzip package size for gulp-eol in KB

Readme

  

Information

<td>Package</td><td>gulp-eol</td>
<td>Description</td>
<td>Replace or append EOL end of file</td>

Usage

eol(newline, append)

  • newline: string \n, \r\n or default os.EOL
  • append: boolean whether to append eol end of file if not any, default true

var eol = require('gulp-eol');

gulp.task('eol', function() {
  return gulp.src('./lib/*.js')
    .pipe(eol())
    .pipe(gulp.dest('./lib/'));
});