yeoman-environment
Handles the lifecyle and bootstrapping of generators in a specific environment
Last updated 5 years ago by mshima .
BSD-2-Clause · Repository · Bugs · Original npm
$ cnpm install yeoman-environment 
SYNC missed versions from official npm registry.

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

Current Tags

  • 2.10.3                                ...           latest (5 years ago)

4 Versions

  • 2.7.0                                ...           6 years ago
  • 2.10.3                                ...           5 years ago
  • 1.6.6                                ...           9 years ago
  • 2.10.0                                ...           5 years ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (19)
Dev Dependencies (12)
Dependents (0)
None

Copyright 2013 - present © cnpmjs.org