npm promotes metadefinitions

    yeoman-environment
    DefinitelyTyped icon, indicating that this package has TypeScript declarations provided by the separate @types/yeoman-environment package

    3.6.0 • 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', {skipInstall: true}).then(() => {
      console.log('success')
    }, err => {
      console.log(`error ${error}`);
    });

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

    API documentation for yeoman-environment v2.x.

    License

    BSD-2-Clause © Yeoman

    Install

    npm i yeoman-environment

    Homepage

    yeoman.io

    DownloadsWeekly Downloads

    490,218

    Version

    3.6.0

    License

    BSD-2-Clause

    Unpacked Size

    142 kB

    Total Files

    26

    Last publish

    Collaborators

    • sindresorhus
    • sboudrias
    • eddiemonge
    • addyosmani
    • mischah
    • zckrs
    • ulisesgascon
    • mshima
    • ruyadorno