<commit_before># node-injectable

[![Build Status](https://travis-ci.org/dkMorlok/node-injectable.svg?branch=master)](https://travis-ci.org/dkMorlok/node-injectable)
[![Coverage Status](https://coveralls.io/repos/github/dkMorlok/node-injectable/badge.svg)](https://coveralls.io/github/dkMorlok/node-injectable)

A simple library for dependency injection with support for ES6 generators. For more information about this pattern look at:
http://en.wikipedia.org/wiki/Dependency_injection and http://en.wikipedia.org/wiki/Inversion_of_control


## Install

`$ npm install --save node-injectable`

## Examples

You can use annotations to automatically setup Container
```js
// src/modules-foo.js<commit_msg>readme update<commit_after># node-injectable

[![Build Status](https://travis-ci.org/dkMorlok/node-injectable.svg?branch=master)](https://travis-ci.org/dkMorlok/node-injectable)
[![Coverage Status](https://coveralls.io/repos/github/dkMorlok/node-injectable/badge.svg)](https://coveralls.io/github/dkMorlok/node-injectable)

A simple library for dependency injection with support for ES6 generators. For more information about this pattern look at:
[Dependency injection](http://en.wikipedia.org/wiki/Dependency_injection) and [Inversion of control](http://en.wikipedia.org/wiki/Inversion_of_control).


## Install

`$ npm install --save node-injectable`

## Examples

You can use annotations to automatically setup Container
```js
// src/modules-foo.js
{'fraction_non_alphanumeric': 0.13676975945017184, 'fraction_numerical': 0.0013745704467353953, 'mean_word_length': 5.558558558558558, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 8, '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': '4679676', 'n_tokens_mistral': 471, 'n_tokens_neox': 446, 'n_words': 91}