https://github.com/yeoman/environment
Yeoman runtime environment
https://github.com/yeoman/environment
Last synced: 7 months ago
JSON representation
Yeoman runtime environment
- Host: GitHub
- URL: https://github.com/yeoman/environment
- Owner: yeoman
- License: bsd-2-clause
- Created: 2014-09-29T06:02:18.000Z (almost 11 years ago)
- Default Branch: main
- Last Pushed: 2024-10-15T01:21:26.000Z (9 months ago)
- Last Synced: 2024-10-29T23:50:38.329Z (9 months ago)
- Language: JavaScript
- Size: 6.83 MB
- Stars: 127
- Watchers: 15
- Forks: 71
- Open Issues: 4
-
Metadata Files:
- Readme: readme.md
- Funding: .github/FUNDING.yml
- License: license
Awesome Lists containing this project
README
# Yeoman Environment
[](http://badge.fury.io/js/yeoman-environment) [](https://github.com/yeoman/environment/actions/workflows/ci.yml) [](https://coveralls.io/github/yeoman/environment?branch=master) [](https://gitter.im/yeoman/yeoman)
> 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](http://yeoman.io/authoring/integrating-yeoman.html).
```js
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](http://yeoman.github.io/environment).
[API documentation for yeoman-environment v2.x](http://yeoman.github.io/environment/2.x).
## License
BSD-2-Clause © Yeoman