<commit_before># uproxy-lib

[![Build Status](https://travis-ci.org/uProxy/uproxy-lib.svg?branch=master)](https://travis-ci.org/uProxy/uproxy-lib) [![devDependency Status](https://david-dm.org/uProxy/uproxy-lib/dev-status.svg)](https://david-dm.org/uProxy/uproxy-lib#info=devDependencies)

Distributed on NPM as [uproxy-lib](https://www.npmjs.org/package/uproxy-lib).

## Setup

Just run the install script:

```
./install_dev_deps.sh
```

This will install npm modules (in `node_modules`), install typescript definitions (in `third_party/typings`), and build the build-tools (into `build/tools`) (It also prints out the commands it runs so you can understand what it is doing if you need/want to).

After this script runs successfully, it should print out: `Successfully completed install of dev dependencies.`

If you just want to cleanup from a partial or broken build, you can run:
```
rm -r build/dev build/dist .tscache src/.baseDir
```
or

```
grunt clean
```

If you need to also start with just fresh development depndencies, you can also run:
```
rm -r node_modules build
./install_dev_deps.sh
```
<commit_msg>fix setup.sh in README<commit_after># uproxy-lib

[![Build Status](https://travis-ci.org/uProxy/uproxy-lib.svg?branch=master)](https://travis-ci.org/uProxy/uproxy-lib) [![devDependency Status](https://david-dm.org/uProxy/uproxy-lib/dev-status.svg)](https://david-dm.org/uProxy/uproxy-lib#info=devDependencies)

Distributed on NPM as [uproxy-lib](https://www.npmjs.org/package/uproxy-lib).

## Setup

Just run the install script:

```
./setup.sh
```

This will install npm modules (in `node_modules`), install typescript definitions (in `third_party/typings`), and build the build-tools (into `build/tools`) (It also prints out the commands it runs so you can understand what it is doing if you need/want to).

After this script runs successfully, it should print out: `Successfully completed install of dev dependencies.`

If you just want to cleanup from a partial or broken build, you can run:
```
rm -r build/dev build/dist .tscache src/.baseDir
```
or

```
grunt clean
```

If you need to also start with just fresh development depndencies, you can also run:
```
rm -r node_modules build
./setup.sh
```

{'fraction_non_alphanumeric': 0.13246519982038618, 'fraction_numerical': 0.0, 'mean_word_length': 4.640506329113924, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 10, 'lorem ipsum': 0, 'www.': 2, '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': '550421', 'n_tokens_mistral': 745, 'n_tokens_neox': 720, 'n_words': 233}