<commit_before>NODE-ZOOM2
=========

[![npm package](https://nodei.co/npm/node-zoom2.png?downloads=true&downloadRank=true&stars=true)](https://nodei.co/npm/node-zoom2/)

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

### Requirements

* [YAZ](http://www.indexdata.dk/yaz/)

#### Debian/Ubuntu

```bash
sudo apt-get install -y libyaz5-dev
```

#### Mac

```bash
brew install yaz
```

### Installation

```bash
npm i node-zoom2
```

## Example

```javascript<commit_msg>Update readme to fix https://github.com/dengelke/node-zoom2/issues/9<commit_after>NODE-ZOOM2
=========

[![npm package](https://nodei.co/npm/node-zoom2.png?downloads=true&downloadRank=true&stars=true)](https://nodei.co/npm/node-zoom2/)

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

### Requirements

* [YAZ](http://www.indexdata.dk/yaz/)

#### Debian/Ubuntu

```bash
sudo apt-get install -y libyaz5-dev
```

#### Mac

```bash
brew install yaz
```

### Installation

```bash
npm i node-zoom2
```
#### Common Installation Issues

If libyaz5-dev is not available on your distributions package manager by default run (or have a look at)

```bash
./preinstall.sh
```

Which will initalize the IndexData repository

## Example

```javascript
{'fraction_non_alphanumeric': 0.20261437908496732, 'fraction_numerical': 0.012477718360071301, 'mean_word_length': 5.354716981132076, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 13, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5637353', 'n_tokens_mistral': 678, 'n_tokens_neox': 619, 'n_words': 88}