Package | gulp-eol |
Description | Replace or append EOL end of file |
- newline: [string]
\n
,\r\n
or defaultos.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/'));
});