<commit_before>[![Build Status](https://travis-ci.org/scottbrady/xhr-promise.svg?branch=master)](https://travis-ci.org/scottbrady/xhr-promise)
[![NPM version](https://badge.fury.io/js/xhr-promise.svg)](http://badge.fury.io/js/xhr-promise)

# xhr-promise

[![Selenium Test Status](https://saucelabs.com/browser-matrix/scottbrady.svg)](https://saucelabs.com/u/scottbrady)

This module wraps the [XMLHttpRequest](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest)
object with [Promise/A+](https://promisesaplus.com/) compliant promises.
The promise implementation is provided by the [bluebird](https://github.com/petkaantonov/bluebird) promise library.

## Browser support

Because xhr-promise uses the XMLHttpRequest object this library will work with
IE7+, Safari 5+ and evergreen browsers (Chrome and Firefox).  You should [read the
bluebird docs](https://github.com/petkaantonov/bluebird#browser-support) for
workarounds with promises and IE 7 and IE 8.

## Installation

This package is available on npm as:

```
npm install xhr-promise
```
<commit_msg>Removed browser badge.<commit_after>[![Build Status](https://travis-ci.org/scottbrady/xhr-promise.svg?branch=master)](https://travis-ci.org/scottbrady/xhr-promise)
[![NPM version](https://badge.fury.io/js/xhr-promise.svg)](http://badge.fury.io/js/xhr-promise)

# xhr-promise

This module wraps the [XMLHttpRequest](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest)
object with [Promise/A+](https://promisesaplus.com/) compliant promises.
The promise implementation is provided by the [bluebird](https://github.com/petkaantonov/bluebird) promise library.

## Browser support

Because xhr-promise uses the XMLHttpRequest object this library will work with
IE7+, Safari 5+ and evergreen browsers (Chrome and Firefox).  You should [read the
bluebird docs](https://github.com/petkaantonov/bluebird#browser-support) for
workarounds with promises and IE 7 and IE 8.

## Installation

This package is available on npm as:

```
npm install xhr-promise
```

{'fraction_non_alphanumeric': 0.13884785819793205, 'fraction_numerical': 0.003938946331856229, 'mean_word_length': 5.35, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 16, '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': '3034603', 'n_tokens_mistral': 708, 'n_tokens_neox': 667, 'n_words': 153}