<commit_before>Learn ES6 Generators
================

>An Intro to ES6 generators via a set of self-guided workshops.

![learn-generators](https://raw.githubusercontent.com/isRuslan/learn-generators/master/learn-generators.jpg)

[![NPM](https://nodei.co/npm/learn-generators.png)](https://nodei.co/npm/learn-generators/)

<a href="https://twitter.com/intent/tweet?hashtags=nodeschool&via=isRuslan&original_referer=https://github.com/&text=Learn+ES6+Generators+with&tw_p=tweetbutton&url=https://github.com/isRuslan/learn-generators" target="_blank">
  <img src="http://jpillora.com/github-twitter-button/img/tweet.png"></img>
</a> [![npm version](https://badge.fury.io/js/learn-generators.svg)](http://badge.fury.io/js/learn-generators)

You can ask questions in [nodeschool/discussions](https://github.com/nodeschool/discussions) board:   [![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/nodeschool/discussions?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)

Send an anonymous feedback about `learn-generators` here: <a href="https://docs.google.com/forms/d/1f_9BvE7Z61dRRg1uKslgNJMQ1AmeO_uTExC-QltBbKY" target="_blank">google/form</a>.

## Install or Update

>You need nodejs >= 0.12.x or iojs >= 1.0.x

```
$ npm install learn-generators -g
```

## Start learning

#### 0. General information

`learn-generators` is i18n-friendly workshopper, currently you can learn on English or French language.
Hit `choose language` menu item or selet language with `-l` flag with aviable prefixes: `en`, `fr`, `ko`, `ja`, `es` and `ru`. Type:

```
$ learn-generators -l
```

To see aviable languages and select the language which you like.

You can also get all available commads in `help`:

```
$ learn-generators help
```

#### 1. Select a topic to learn

Once the workshop is installed, run `learn-generators` to print a menu
where you use the arrows ↑↓ (vim `jk` works too) to select a topic to learn.

```<commit_msg>Fixed grammatical typo for `available`<commit_after>Learn ES6 Generators
================

>An Intro to ES6 generators via a set of self-guided workshops.

![learn-generators](https://raw.githubusercontent.com/isRuslan/learn-generators/master/learn-generators.jpg)

[![NPM](https://nodei.co/npm/learn-generators.png)](https://nodei.co/npm/learn-generators/)

<a href="https://twitter.com/intent/tweet?hashtags=nodeschool&via=isRuslan&original_referer=https://github.com/&text=Learn+ES6+Generators+with&tw_p=tweetbutton&url=https://github.com/isRuslan/learn-generators" target="_blank">
  <img src="http://jpillora.com/github-twitter-button/img/tweet.png"></img>
</a> [![npm version](https://badge.fury.io/js/learn-generators.svg)](http://badge.fury.io/js/learn-generators)

You can ask questions in [nodeschool/discussions](https://github.com/nodeschool/discussions) board:   [![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/nodeschool/discussions?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)

Send an anonymous feedback about `learn-generators` here: <a href="https://docs.google.com/forms/d/1f_9BvE7Z61dRRg1uKslgNJMQ1AmeO_uTExC-QltBbKY" target="_blank">google/form</a>.

## Install or Update

>You need nodejs >= 0.12.x or iojs >= 1.0.x

```
$ npm install learn-generators -g
```

## Start learning

#### 0. General information

`learn-generators` is i18n-friendly workshopper, currently you can learn on English or French language.
Hit `choose language` menu item or selet language with `-l` flag with aviable prefixes: `en`, `fr`, `ko`, `ja`, `es` and `ru`. Type:

```
$ learn-generators -l
```

To see available languages and select the language which you like.

You can also get all available commads in `help`:

```
$ learn-generators help
```

#### 1. Select a topic to learn

Once the workshop is installed, run `learn-generators` to print a menu
where you use the arrows ↑↓ (vim `jk` works too) to select a topic to learn.

```
{'fraction_non_alphanumeric': 0.16287975491447537, 'fraction_numerical': 0.010722491702833802, 'mean_word_length': 5.2688, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 23, 'https://': 22, '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': '7497743', 'n_tokens_mistral': 1439, 'n_tokens_neox': 1355, 'n_words': 310}