<commit_before>tinyajax.js
======

A tiny Ajax wrapper, with an err-back interface

## Examples
```js
tinyAjax.get(
    '/path',
    {
        data: 'test'
    },
    {
        Accept: 'application/json'
    },
    function(err, response) {
        if (err) {
            // oh no
        }<commit_msg>Add Travis CI build status to readme<commit_after>tinyajax.js
======

A tiny Ajax wrapper, with an err-back interface

[![Build Status](https://travis-ci.org/skybet/tinyajax.js.svg?branch=master)](https://travis-ci.org/skybet/tinyajax.js)

## Examples
```js
tinyAjax.get(
    '/path',
    {
        data: 'test'
    },
    {
        Accept: 'application/json'
    },
    function(err, response) {
        if (err) {
            // oh no
        }
{'fraction_non_alphanumeric': 0.16042780748663102, 'fraction_numerical': 0.0, 'mean_word_length': 2.0823045267489713, 'pattern_counts': {'":': 0, '<': 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': '1127248', 'n_tokens_mistral': 260, 'n_tokens_neox': 251, 'n_words': 54}