<commit_before># generator-chaos [![Build Status](https://secure.travis-ci.org/bmorwood/generator-chaos.png?branch=master)](https://travis-ci.org/bmorwood/generator-chaos)

[![NPM](https://nodei.co/npm/generator-chaos.png)](https://nodei.co/npm/generator-chaos)

![alt tag](https://raw.github.com/bmorwood/generator-chaos/master/chaos-logo.jpg)

Maintainer: [<NAME>](https://github.com/bmorwood) <script data-gittip-username="bmorwood" data-gittip-widget="button" >
</script>

Chaos is a generator used to generate a Chaos application.

Chaos is based on the carngorhm design pattern used to create flash / flex style web applications.
http://en.wikipedia.org/wiki/Cairngorm_%28Flex_framework%29

## Usage

Install yeoman using NPM.

```
$ npm install -g yo
```

Install: `npm install -g generator-chaos`

Make a new directory and `cd` into it:
```
mkdir my-new-project && cd $_
```

Run `yo chaos`
```
yo chaos
```

(required) next it will ask for a namespace, enter your namespace and hit enter.
## Generators

Available generators:

- command
- controller
- event
- initializer
- model
- proxy
- service
- singleton
- view Model
- view

```
yo chaos:entity [object name]
```
this is a multiple choice selector, you can also use the 'All' to generate all entities.
choose from the available list items, you can select any combination you want.


## Typical workflow

```
yo chaos # generates your application base and build workflow
[enter namespace]
yo chaos:entity blog
[choose view & view model]
grunt
```

**NOTE: Do not put beginning or trailing slashes on the directory structure!**


## Options

* `--skip-install`

  Skips the automatic execution of `bower` and `npm` after
  scaffolding has finished.


### Included

* localization: http://i18next.com
* code documentation using http://yui.github.io/yuidoc/

## License

[MIT License](http://en.wikipedia.org/wiki/MIT_License)<commit_msg>updated the readme file<commit_after># generator-chaos [![Build Status](https://secure.travis-ci.org/bmorwood/generator-chaos.png?branch=master)](https://travis-ci.org/bmorwood/generator-chaos)

[![NPM](https://nodei.co/npm/generator-chaos.png)](https://nodei.co/npm/generator-chaos)

![alt tag](https://raw.github.com/bmorwood/generator-chaos/master/chaos-logo.jpg)

Maintainer: [<NAME>](https://github.com/bmorwood) <script data-gittip-username="bmorwood" data-gittip-widget="button" >
</script>

Chaos is a boilerplate used to generate HTML5 interactive standalone web applications.

Chaos is based on the 'carngorhm' design pattern used to create flash / flex style web applications. If you are former Flex / Flash developer or you are looking for portable web application, you are in the right place.

http://en.wikipedia.org/wiki/Cairngorm_%28Flex_framework%29


### Included right out of the box.


* built in localization using http://i18next.com.
* code documentation using http://yui.github.io/yuidoc/.
* pre-loader
* grunt
* basic web application scaffolding.
* simple setup to integrate into any web page.
* works on all modern browsers; I still need to check older versions of IE.


## Usage

Install yeoman using NPM.

```
$ npm install -g yo
```

Install: `npm install -g generator-chaos`

Make a new directory and `cd` into it:
```
mkdir my-new-project && cd $_
```

Run `yo chaos`
```
yo chaos
```

chaos will ask for a namespace, enter your namespace and hit enter.

## Options

* `--skip-install`

  Skips the automatic execution of `bower` and `npm` after
  scaffolding has finished.

## Generators

Available generators:

- command
- controller
- event
- initializer
- model
- proxy
- service
- singleton
- view model
- view

```
yo chaos:entity [object name]
```
this is a multiple choice selector, you can also use the 'All' to generate all entities.
choose from the available list items, you can select any combination you want.


## Typical workflow

```
yo chaos # generates your application base and build workflow
[enter namespace]
yo chaos:entity blog
[choose view & view model]
grunt
```

**NOTE: Do not put beginning or trailing slashes on the directory structure!**


## License

[MIT License](http://en.wikipedia.org/wiki/MIT_License)
{'fraction_non_alphanumeric': 0.12265962554008641, 'fraction_numerical': 0.0031204992798847817, 'mean_word_length': 4.315051020408164, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 12, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '436427', 'n_tokens_mistral': 1362, 'n_tokens_neox': 1277, 'n_words': 435}