Socket
Book a DemoInstallSign in
Socket

generator-generator

Package Overview
Dependencies
Maintainers
10
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

generator-generator

Generate a Yeoman generator

latest
Source
npmnpm
Version
5.2.0
Version published
Weekly downloads
155
-53.59%
Maintainers
10
Weekly downloads
 
Created
Source

generator-generator build Coverage Status

Yeoman generator generating a Yeoman generator

xzibit meme: "Yo dawg, I heard you like generators?"

Getting started

  • Install: npm install -g yo generator-generator
  • Run: yo generator

Commands

  • yo generator shows a wizard for generating a new generator
  • yo generator:subgenerator <name> generates a subgenerator with the name <name>

What do you get?

Scaffolds out a complete generator directory structure for you:

.
├── generators/
│   └── app/
│       ├── index.js
│       └── templates/
│           └── dummyfile.txt
├── .editorconfig
├── .eslintignore
├── .gitattributes
├── .gitignore
├── .travis.yml
├── .yo-rc.json
├── LICENSE
├── README.md
├── package.json
└── __tests__/
    └── app.js

Refer to our documentation to learn more about creating a Yeoman generator.

Running tests

Run npm test to run your test suite.

These tests will be run automatically in your git repository if you connect Travis CI. You can also track test coverage using Coveralls.

Contributing

See the contribution docs.

When submitting an issue, please follow the guidelines. It is especially important to make sure Yeoman is up-to-date, and providing the command or commands that cause the issue.

License

MIT © Pascal Hartig phartig@rdrei.net and other contributors

Keywords

yeoman-generator

FAQs

Package last updated on 01 Nov 2025

Did you know?

Socket

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.

Install

Related posts