npm.io
6.1.0 • Published 3 months agoCLI

yeoman-environment

Licence
BSD-2-Clause
Version
6.1.0
Deps
21
Size
124 kB
Vulns
0
Weekly
0
Stars
132

Yeoman Environment

npm NPM Test 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.

import { createEnv } from 'yeoman-environment';

// The #lookup() method will search the user computer for installed generators
// The search if done from the current working directory
await env.lookup();
await env.run('angular', { skipInstall: true });

For advance usage, see our API documentation for latest yeoman-environment.

API documentation for yeoman-environment v2.x.

License

BSD-2-Clause Yeoman

Keywords