<commit_before># InversifyJS
A lightweight IoC container written in TypeScript.

### Why InversifyJS?

todo

### InversifyJS is easy to configure

Declare your classes and interfaces

```
interface fooInterface {
  bar() : void;
}

class foo implements fooInterface {
  public bar() {
    return "bar";
  }
}
```

Create a kernel and set up your app's type bindings

```
var kernel = new Kernel();
var runtimeIdentifier = "fooInterface";
var binding =  new TypeBinding<fooInterface>(runtimeIdentifier, foo);
kernel.bind(binding);
```
We are done!

```
var instance = kernel.resolve<fooInterface>("fooInterface");
```

### InversifyJS is compatible with TypeScript and JavaScript

todo

### InversifyJS is compatible with many frameworks

todo

### InversifyJS is compatible with module loaders

todo

### License

todo<commit_msg>started to document code<commit_after># InversifyJS
A lightweight IoC container written in TypeScript.

### Why InversifyJS?

todo

### InversifyJS is easy to configure

##### 1. Declare your classes and interfaces
todo

```
interface fooInterface {
  bar() : void;
}

class foo implements fooInterface {
  public bar() {
    return "bar";
  }
}
```

##### 2. Create a kernel and set up your app's type bindings
todo

```
var kernel = new Kernel();
var runtimeIdentifier = "fooInterface";
var binding =  new TypeBinding<fooInterface>(runtimeIdentifier, foo);
kernel.bind(binding);
```
##### 3. We are done!
todo

```
var instance = kernel.resolve<fooInterface>("fooInterface");
```

### InversifyJS is compatible with TypeScript and JavaScript

todo

### InversifyJS is compatible with many frameworks

todo

### InversifyJS is compatible with module loaders

todo

### License

todo
{'fraction_non_alphanumeric': 0.11208406304728546, 'fraction_numerical': 0.0017513134851138354, 'mean_word_length': 4.79054054054054, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, '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': '1709760', 'n_tokens_mistral': 535, 'n_tokens_neox': 507, 'n_words': 182}