developer tools

Getting started with Gulp.js

Getting started with Gulp.js

In this tutorial, you'll learn about Gulp javaScript toolkit & task runner.

so, let's get started...

 

What is Gulp?

Gulp is an Open source JavaScript toolkit & task runner built on Node.js and NPM.

The concept of GULP to reduce time-consuming & repetitive tasks with just simple code.

To perform such repetitive tasks it also has Hundreds of plugins available for different tasks on NPM.

 

HowGulp works?

Gulp is built on node streams and node streams is a continuous flow of data that can be manipulated asynchronously

Piplines/.pipe() operator is basically a chain of processing elements, so the output of one element is Input of next element

¨So we can set single Purpose plugins to run task after task with using pipe() operator

For example, one plugin can be used for Minify Javascript then the next pipe will uses for compile Saas file to css so on…

 

Common Task Can Perform with Gulp.js

1.Minification of scripts and styles

2.Concatenation

3.Cache busing

4.¨Testing,linting & optimization

5.Dev Server

Conclusion:

Thanks for reading.

Do let me know If you face any difficulties please feel free to comment below we love to help you. if you have any feedback suggestions then please inform us by commenting.

Don’t forget to share this tutorial with your friends on facebooktwitter.

If You Appreciate What We Do Here On TutsCoder, You Should Consider:

If you like what you are reading, please consider buying us a coffee ( or 2 ) as a token of appreciation.

Support Us

We are thankful for your never ending support.

Leave a Comment