<commit_before># NODE-DOCUMENT-COMPRESSOR [![Build Status](https://secure.travis-ci.org/grimen/node-document-compressor.png)](http://travis-ci.org/grimen/node-document-compressor)

**Compressor** adapter interface for [node-document](https://github.com/grimen/node-document) ODM for Node.js.


## About

Unified interface for compressing/decompressing data using different kind of compression engines/algorithms.


## Adapters

* [Deflate](https://github.com/grimen/node-document-compressor-deflate)
* [LZF](https://github.com/grimen/node-document-compressor-lzf)
* [Snappy](https://github.com/grimen/node-document-compressor-snappy)


## Installation

```shell
  $ npm install node-document-compressor
```


## Usage

For details; see [node-document](https://github.com/grimen/node-document).


## Test

**Local tests:**

```shell
  $ make test
```


## License

Released under the MIT license.

Copyright (c) [<NAME>](http://github.com/grimen)<commit_msg>Add a Bitdeli badge to README<commit_after># NODE-DOCUMENT-COMPRESSOR [![Build Status](https://secure.travis-ci.org/grimen/node-document-compressor.png)](http://travis-ci.org/grimen/node-document-compressor)

**Compressor** adapter interface for [node-document](https://github.com/grimen/node-document) ODM for Node.js.


## About

Unified interface for compressing/decompressing data using different kind of compression engines/algorithms.


## Adapters

* [Deflate](https://github.com/grimen/node-document-compressor-deflate)
* [LZF](https://github.com/grimen/node-document-compressor-lzf)
* [Snappy](https://github.com/grimen/node-document-compressor-snappy)


## Installation

```shell
  $ npm install node-document-compressor
```


## Usage

For details; see [node-document](https://github.com/grimen/node-document).


## Test

**Local tests:**

```shell
  $ make test
```


## License

Released under the MIT license.

Copyright (c) [<NAME>](http://github.com/grimen)


[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/grimen/node-document-compressor/trend.png)](https://bitdeli.com/free "Bitdeli Badge")

{'fraction_non_alphanumeric': 0.16626506024096385, 'fraction_numerical': 0.0024096385542168677, 'mean_word_length': 4.948424068767908, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 14, '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': '4750752', 'n_tokens_mistral': 733, 'n_tokens_neox': 697, 'n_words': 114}