<commit_before># qjax

[![Build Status](https://travis-ci.org/kahnjw/qjax.png)](https://travis-ci.org/kahnjw/qjax)

A simple Q wrapper for making ajax requests

## Usage

Use it like you would use `$.ajax`, only as a Q/A+ Promise:

```javascript
var printIt = function(data) {
  console.log(data);
};
var qjax = require('qjax');
var options = {
  url: 'http://google.com',
  type: 'GET'
};

qjax(options).then(printIt);
```
## Development:

Install it:

```
npm install
```

Test it:

```
mocha
```

Lint it:
```
jshint index.js
jshint test/*
```
<commit_msg>Don't need colons in headings<commit_after># qjax

[![Build Status](https://travis-ci.org/kahnjw/qjax.png)](https://travis-ci.org/kahnjw/qjax)

A simple Q wrapper for making ajax requests

## Usage

Use it like you would use `$.ajax`, only as a Q/A+ Promise:

```javascript
var printIt = function(data) {
  console.log(data);
};
var qjax = require('qjax');
var options = {
  url: 'http://google.com',
  type: 'GET'
};

qjax(options).then(printIt);
```
## Development

Install it:

```
npm install
```

Test it:

```
mocha
```

Lint it:
```
jshint index.js
jshint test/*
```

{'fraction_non_alphanumeric': 0.19064430714916153, 'fraction_numerical': 0.0, 'mean_word_length': 4.085201793721973, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1803973', 'n_tokens_mistral': 466, 'n_tokens_neox': 442, 'n_words': 112}