Meet npm Pro: unlimited public & private packages + package-based permissions.Learn more »

gulp-eol

0.2.0 • Public • Published

  

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

Install

npm i gulp-eol

DownloadsWeekly Downloads

3,594

Version

0.2.0

License

none

Last publish

Collaborators

  • avatar