# generator-ng2-component

> Angular2 Component Generator with variety of options

Latest version **0.2.0** (published 2016-04-19) · MIT license · 0 weekly downloads

## Install

```sh
npm install generator-ng2-component
pnpm add generator-ng2-component
yarn add generator-ng2-component
bun add generator-ng2-component
```

## 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.2.0 |
| Published | 2016-04-19 |
| First published | 2016-04-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Samuel Kollat |
| Maintainers | samuel-kollat |
| Keywords | angular2, component, webpack, typescript, sass, yeoman-generator |

## Links

- npm: https://www.npmjs.com/package/generator-ng2-component
- Repository: https://github.com/samuel-kollat/generator-ng2-component
- Issues: https://github.com/samuel-kollat/generator-ng2-component/issues
- npm.io page: https://npm.io/package/generator-ng2-component

## Dependencies (4)

- [chalk](https://npm.io/package/chalk.md) ^1.0.0
- [yosay](https://npm.io/package/yosay.md) ^1.0.2
- [mkdirp](https://npm.io/package/mkdirp.md) ^0.5.1
- [yeoman-generator](https://npm.io/package/yeoman-generator.md) ^0.22.0

## Alternatives

- [@openai/codex-sdk](https://npm.io/package/@openai/codex-sdk.md) — 731.4K weekly downloads
- [babel-plugin-transform-react-jsx](https://npm.io/package/babel-plugin-transform-react-jsx.md) — 565.0K weekly downloads
- [babel-helper-remove-or-void](https://npm.io/package/babel-helper-remove-or-void.md) — 508.5K weekly downloads
- [@pnpm/store-controller-types](https://npm.io/package/@pnpm/store-controller-types.md) — 186.9K weekly downloads
- [react-native-signature-canvas](https://npm.io/package/react-native-signature-canvas.md) — 155.6K weekly downloads

## Recent versions

- 0.2.0 (latest) — 2016-04-19
- 0.0.6 (beta) — 2016-04-17
- 0.1.0 — 2016-04-18
- 0.0.7 — 2016-04-17
- 0.0.5 — 2016-04-17

## README

# generator-ng2-component [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Dependency Status][daviddm-image]][daviddm-url]
> Angular2 Component Generator with variety of options

## Beta version

Current options:

 * Name of a new component
 * Destination for the new component
 * Inline or separate template & styles. For separate
     * Sass, Less or CSS file
     * Include via templateUrl & styleUrls OR require('...')
 * Choose whether to generate Unit tests & E2E tests

Todo:

 * Choose whether to include Forms, Routes, ...
 * Global configuration

## Installation

First, install [Yeoman](http://yeoman.io) and generator-ng2-component using [npm](https://www.npmjs.com/) (we assume you have pre-installed [node.js](https://nodejs.org/)).

```bash
npm install -g yo
npm install -g generator-ng2-component
```

Then generate your new Angular2 component:

```bash
yo ng2-component
```

## Getting To Know Yeoman

 * Yeoman has a heart of gold.
 * Yeoman is a person with feelings and opinions, but is very easy to work with.
 * Yeoman can be too opinionated at times but is easily convinced not to be.
 * Feel free to [learn more about Yeoman](http://yeoman.io/).

## License

MIT © [Samuel Kollat](https://github.com/samuel-kollat)


[npm-image]: https://badge.fury.io/js/generator-ng2-component.svg
[npm-url]: https://npmjs.org/package/generator-ng2-component
[travis-image]: https://travis-ci.org/samuel-kollat/generator-ng2-component.svg?branch=master
[travis-url]: https://travis-ci.org/samuel-kollat/generator-ng2-component
[daviddm-image]: https://david-dm.org/samuel-kollat/generator-ng2-component.svg?theme=shields.io
[daviddm-url]: https://david-dm.org/samuel-kollat/generator-ng2-component

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