Useful tools for programmers: Yeoman

Finally, I’ve got a little bit of time for blogging, so today wanted to write a few words about one of useful tools for developers — Yeoman.

Yo man! Useful tools for programmers — Mr Yeoman

Why to do the tedious, repetitive tasks, if it can be done for us by machine, or in this case — by the program. Yeoman allows us to generate different kind projects, especially creating the structure of folders and the necessary ingredients, in order to the best practices and patterns.

It makes initial creation of necessary folders and files, as well the setup of dependencies.

candy ai girlfriend review

For example we may create new AngularJS project, where we also want to have Bootstrap, Saas and other extensions, that our project will need.

Installation is based on npm, which for sure we have in our environment, if we have worked with node.js. There also Bower and Grunt will be necessary =>

# install yo
npm install --global yo

# or
npm install --global yo bower grunt-cli

# install a generator
npm install --global generator-webapp

# run it
yo webapp

More details you can find at the project website:

https://github.com/yeoman/yo

Yeoman is an useful too, with a wide spectrum of generators, that help us to create different kind projects.

Yeoman - console

Yeoman — console

The list of generators we can find here:

http://yeoman.io/generators

For example we can generate AngularJS projects:

npm install -g generator-gulp-ng

or mobile, and much more.

See also:

Let’s Scaffold a Web App with Yeoman

Assemble.io — build something

Useful tools for programmers — summary

Solutions like Yeoman are easy to use and help us to create (generate) new projects, saving our precious time. The package manager such as Bower, and the task runner like Grunt, are really useful solutions even independently. The things are going to be even more interesting, if we combine them to more powerful entity.

Yo!