gulp-ext npm package of node.js


Overview

This is a very basc gulp plugin which is used to change, append or crop the extension of the file.

Code


													
var gulp = require('gulp');
var ext = require('gulp-ext');		
gulp.task('default', function () {
    return gulp.src('source/first.js')
        .pipe(ext.append('on'))
        .pipe(gulp.dest('dist'));
});
		
        
													
												

Run

  • Now run the snippet using the following command :
    													
    $gulp