# generator-mygenerator

> my generator to generate a Yeoman generator

Latest version **0.0.3** (published 2015-07-15) · MIT license · 0 weekly downloads

## Install

```sh
npm install generator-mygenerator
pnpm add generator-mygenerator
yarn add generator-mygenerator
bun add generator-mygenerator
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.3 |
| Published | 2015-07-15 |
| First published | 2015-07-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 9 |
| Known vulnerabilities | 0 (+5 in 1 direct dependencies) |
| Install scripts | no |
| Author | yeatszhang |
| Maintainers | yeatszhang |
| Keywords | yeoman-generator, generator, inception, init, create, boilerplate |

## Links

- npm: https://www.npmjs.com/package/generator-mygenerator
- Repository: https://github.com/yeatszhang/generator-mygenerator
- Homepage: https://github.com/yeatszhang/generator-mygenerator#readme
- Issues: https://github.com/yeatszhang/generator-mygenerator/issues
- npm.io page: https://npm.io/package/generator-mygenerator

## Dependencies (9)

- [glob](https://npm.io/package/glob.md) ^5.0.13
- [chalk](https://npm.io/package/chalk.md) ^1.0.0
- [yosay](https://npm.io/package/yosay.md) ^1.0.0
- [github](https://npm.io/package/github.md) ^0.2.1
- [lodash](https://npm.io/package/lodash.md) ^3.6.0
- [superb](https://npm.io/package/superb.md) ^1.0.0
- [npm-name](https://npm.io/package/npm-name.md) ^1.0.1
- [yeoman-generator](https://npm.io/package/yeoman-generator.md) ^0.19.0
- [underscore.string](https://npm.io/package/underscore.string.md) ^3.0.3

## Recent versions

- 0.0.3 (latest) — 2015-07-15
- 0.0.2 — 2015-07-15
- 0.0.0 — 2015-07-14

## README

# generator-mygenerator

> Generate a Yeoman generator

## what is mygenerator

mygenerator and generator-generator, is used to more easily generate yeoman generator tool.
Different from the official generator which copying and templating files one by one, I think that the interaction with the user to generate a complete phase configuration, all files for batch processing, files beginning with `_` need templating, or direct copy. The advantage of this:

1. Do not need to change your code when modify the template files. It really relaxing.
2. It is convenient to process the template directory automatically by the prefix `_` and configuration props on `this`, you don't need to use template or copy files.
3. Clear directory structure

## Getting started

- Install: `npm install -g generator-mygenerator`
- Run: `yo mygenerator`

## What do you get?

Scaffolds out a complete project directory structure for you:

    .
    ├── generators
    │   └── app
    │       ├── index.js
    │       └── templates
    │           ├── _bower.json
    │           ├── _package.json
    │           └── index.js
    ├── .editorconfig
    ├── .gitattributes
    ├── .gitignore
    ├── .jshintrc
    ├── .travis.yml
    ├── .yo-rc.json
    ├── package.json
    ├── README.md
    └── test
        └── test-app.js


## License

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

---
_Source: https://npm.io/package/generator-mygenerator · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
