Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 788 Bytes

README.md

File metadata and controls

30 lines (23 loc) · 788 Bytes

  

Information

Packagegulp-eol
Description Replace or append EOL end of file

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/'));
});