Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

yeoman-environment

2.10.3 • Public • Published

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 yeoman-environment

Usage

Full documentation available here.

const yeoman = require('yeoman-environment');
const 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(() => {
  env.run('angular', {'skip-install': true}, err => {
    console.log('done');
  });
});

For advance usage, see our API documentation.

License

BSD-2-Clause © Yeoman

Install

npm i yeoman-environment

DownloadsWeekly Downloads

349,997

Version

2.10.3

License

BSD-2-Clause

Unpacked Size

96.1 kB

Total Files

13

Homepage

yeoman.io

Last publish

Collaborators

  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar