
Research
2025 Report: Destructive Malware in Open Source Packages
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.
yeoman-environment
Advanced tools
Handles the lifecyle and bootstrapping of generators in a specific environment
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.
$ npm install yeoman-environment
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.
BSD-2-Clause © Yeoman
The yeoman-generator package provides the base class for creating Yeoman generators. While yeoman-environment focuses on managing the environment and lifecycle of generators, yeoman-generator is used to define the generators themselves.
Plop is a micro-generator framework that allows you to create and run generators. It is similar to yeoman-environment in that it helps manage the lifecycle of generators, but it is generally considered to be simpler and more lightweight.
Hygen is a code generator tool that focuses on being fast and easy to use. It provides a different approach to code generation compared to yeoman-environment, with a focus on simplicity and speed.
FAQs
Handles the lifecyle and bootstrapping of generators in a specific environment
The npm package yeoman-environment receives a total of 328,118 weekly downloads. As such, yeoman-environment popularity was classified as popular.
We found that yeoman-environment demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 8 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.

Security News
Socket CTO Ahmad Nassri shares practical AI coding techniques, tools, and team workflows, plus what still feels noisy and why shipping remains human-led.

Research
/Security News
A five-month operation turned 27 npm packages into durable hosting for browser-run lures that mimic document-sharing portals and Microsoft sign-in, targeting 25 organizations across manufacturing, industrial automation, plastics, and healthcare for credential theft.