Yeoman runtime environment
JavaScript
Latest commit 7354eaa Nov 13, 2016 @SBoudrias SBoudrias 1.6.6

readme.md

Yeoman Environment

npm Build Status Coverage Status Gitter

Handles the lifecycle and bootstrapping of generators in a specific environment

It provides a high-level API to discover, create and run generators, as well as further tuning of where and how a generator is resolved.

Install

$ npm install --save yeoman-environment

Usage

Full documentation available at http://yeoman.io/authoring/integrating-yeoman.html

var yeoman = require('yeoman-environment');
var env = yeoman.createEnv();

// The #lookup() method will search the user computer for installed generators.
// The search if done from the current working directory.
env.lookup(function () {
  env.run('angular', {'skip-install': true}, function (err) {
    console.log('done');
  });
});

For advance usage, see our API documentation.

License

BSD © Yeoman