<commit_before># Typed Knockout Postbox
The type definition for [`knockout-postbox`](https://github.com/rniemeyer/knockout-postbox)

## Installation

**External module (recommended):**
```sh
$ npm install knockout knockout-postbox
$ typings install knockout github:jgoz/typed-knockout-postbox#v0.5.2
```

**Global module:**
```sh
$ npm install knockout knockout-postbox
$ typings install --ambient global!knockout github:jgoz/typed-knockout-postbox/global/typings.json#v0.5.2
```

## Usage

**External module:**

Due to TypeScript restrictions, it is not possible to augment root modules, so `ko.postbox` will not be available in TypeScript sources. The recommendation is to import `knockout-postbox` directly.

```ts
import * as ko from "knockout":
import * as postbox from "knockout-postbox";
<commit_msg>Update installation instructions<commit_after># Typed Knockout Postbox
The type definition for [`knockout-postbox`](https://github.com/rniemeyer/knockout-postbox)

## Installation

**External module (recommended):**
```sh
$ npm install knockout knockout-postbox
$ typings install knockout knockout-postbox
```

**Global module:**
```sh
$ npm install knockout knockout-postbox
$ typings install --ambient global!knockout global!knockout-postbox
```

## Usage

**External module:**

Due to TypeScript restrictions, it is not possible to augment root modules, so `ko.postbox` will not be available in TypeScript sources. The recommendation is to import `knockout-postbox` directly.

```ts
import * as ko from "knockout":
import * as postbox from "knockout-postbox";

{'fraction_non_alphanumeric': 0.11719745222929936, 'fraction_numerical': 0.003821656050955414, 'mean_word_length': 5.656779661016949, 'pattern_counts': {'":': 2, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '4245680', 'n_tokens_mistral': 511, 'n_tokens_neox': 458, 'n_words': 154}