<commit_before>aias
====

A standalone AJAX library.<commit_msg>Adding installation instructions and license<commit_after>aias
====

A standalone AJAX library.

## Installation

**Not yet available.**

Download the [latest aias release](https://github.com/tylerwalters/aias) and load using a script tag:

```html
<script src="aias.min.js"></script>
```

or install with [npm](https://www.npmjs.org/):

```bash
npm install aias
```

or install with [bower](http://bower.io/):

```bash
bower install aias
```

## How to use aias

### aias.get()

```JavaScript
aias.get('/endpoint')
  .then(function (data, xhr) {

  }
  .error(function (data, xhr) {

  });
```

### aias.post()
{'fraction_non_alphanumeric': 0.18518518518518517, 'fraction_numerical': 0.0, 'mean_word_length': 4.408, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 1, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '157605', 'n_tokens_mistral': 256, 'n_tokens_neox': 233, 'n_words': 61}