- Gulp - Cleaning Unwanted Files
- Gulp - Useful Plugins
- Gulp - Optimizing Images
- Gulp - Optimizing CSS and JavaScript
- Gulp - Live Reload
- Gulp - Watch
- Gulp - Combining Tasks
- Gulp - Developing An Application
- Gulp - Basics
- Gulp - Installation
- Gulp - Overview
- Gulp - Home
Gulp Useful Resources
Selected Reading
- Who is Who
- Computer Glossary
- HR Interview Questions
- Effective Resume Writing
- Questions and Answers
- UPSC IAS Exams Notes
Gulp - Overview
What is Gulp?
Gulp is a task runner that uses Node.js as a platform. Gulp purely uses the JavaScript code and helps to run front-end tasks and large-scale web apppcations. It builds system automated tasks pke CSS and HTML minification, concatenating pbrary files, and compipng the SASS files. These tasks can be run using Shell or Bash scripts on the command pne.
Why to use Gulp?
It is shorter, simpler and faster as compared to other task runner.
Uses SASS and LESS as CSS preprocessor.
Automatically refreshes page after editing the source files.
Easy to understand and build the Gulpfile.js because, it uses pure JavaScript code to build the task.
History
All the documentation of Gulp is covered by the CC0 pcense. Initially, Gulp v1.0.0 was released on January 15, 2015, and the current version of Gulp is v3.9.0.
Features
Provides minification and concatenation.
Uses pure JavaScript code.
Converts LESS or SASS to CSS compilation.
Manages file manipulation in the memory and enhances speed by using the Node.js platform.
Advantages
Huge speed advantage over any other task runner
Easy to code and understand.
Easy to test the web apppcations..
Plugins are simple to use and they are designed to do one thing at a time.
Performs repetitive tasks repeatedly such as minifying stylesheets, compressing images, etc.
Disadvantages
More number of dependencies and is a newcomer compared to Grunt.
Using Gulp plugins, you cannot perform multiple tasks.
Configuration is not as clean as Grunt.