<commit_before># Generatorify

Wrap function with callback into generator.
Based on this [gist](https://gist.github.com/yanatan16/8216252).

## Prerequests

This library works with io.js or node.js with `--harmony` flag. It requires 
native Promises and Generators.

## Usage
<commit_msg>Add travis badge.<commit_after>[![Build Status](https://travis-ci.org/stojanovic/generatorify.svg?branch=master)](https://travis-ci.org/stojanovic/generatorify)

# Generatorify

Wrap function with callback into generator.
Based on this [gist](https://gist.github.com/yanatan16/8216252).

## Prerequests

This library works with io.js or node.js with `--harmony` flag. It requires 
native Promises and Generators.

## Usage

{'fraction_non_alphanumeric': 0.11954992967651196, 'fraction_numerical': 0.02531645569620253, 'mean_word_length': 4.836065573770492, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, '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': '2416340', 'n_tokens_mistral': 247, 'n_tokens_neox': 225, 'n_words': 63}