Yeoman (http://yeoman.io/) is a code-generator tool. It enables the generation of all the necessary files that you will need in a project template, according to a particular web technology. Yeoman allows us to generate full project templates but also pieces of code or optional features we could use in our projects. They are called subgenerators.
In this recipe, we will learn how to install Yeoman and use it in Windows. We will create Yeoman generators and subgenerators.
We will assume that you already have Node.js installed on your computer (Node.js and npm comes together). We will also assume that you've already installed Visual Studio Code. We have already talked about lightweight, cross-platform Visual Studio version in a previous recipe Bundling and minifying JavaScript files with Gulp.
Visual Studio Code will help us to realize the value of using Yeoman in an IDE that contains no project templates.