ZetCode

Gulp tutorials

Gulp is a streaming task runner for Node.js. A gulpfile defines tasks as plain JavaScript functions; the tasks read files with src, pass them through plugins with pipe, and write the results with dest. Gulp is used to compile Sass, minify JavaScript and CSS, optimise images, and rebuild a project whenever a source file changes. The tutorials cover Gulp 5 with gulpfiles written as ES modules.

E-books

Gulp favours code over configuration. Tasks are composed with series and parallel, files are selected with globs, and thousands of small plugins do the actual work. Because the files travel through the pipeline in memory, no temporary files are needed between the steps.

Gulp basics

Styles and scripts

last modified November 15, 2026