<commit_before># chrome.sockets.tcp.xhr ![GitHub version][github-image]

[![Build Status][travis-image]][travis-url]
[![Dependency Status][daviddm-url]][daviddm-image]
[![devDependency Status][daviddm-dev-url]][daviddm-dev-image]
[![Coverage Status][coveralls-image]][coveralls-url]
[![Total views][sourcegraph-image]][sourcegraph-url]

an `XMLHttpRequest` drop-in replacement using [chrome.sockets.tcp](http://developer.chrome.com/apps/sockets_tcp) for [Chrome Apps](http://developer.chrome.com/apps/about_apps)

**NOTE: This is still in pre-release stage, use at your own risk, cannot gaurantee functionality**

## TO DO

- Full Compatibility with W3C XMLHttpRequest Spec
- HTTPS support

## Table of contents

- [Quick start](#quick-start)
- [Change Log](#changelog)
- [Documentation](#documentation)
- [Bugs and feature requests](#bugs-and-feature-requests)
- [Compiling](#compiling)
- [Contributing](#contributing)
- [Contribute and Earn](#contribute-and-earn)
- [Donating](#donating)
- [Community](#community)
- [Versioning](#versioning)
- [Authors](#authors)
- [License](#license)

## Quick start

Four quick start options are available:

- [Download the latest release](https://github.com/codeinchaos/chrome.sockets.tcp.xhr/releases).
- Clone the repo: `git clone git@github.com:codeinchaos/chrome.sockets.tcp.xhr.git`.
- Install with [Bower](http://bower.io): `bower install chrome.sockets.tcp.xhr`.  [![Bower version][bower-image]][bower-url]
- Install with [NPM](http://npmjs.org): `npm install chrome.sockets.tcp.xhr`. [![NPM version][npm-image]][npm-url]

### What's included

Within the download you'll find the following files, providing both compiled and minified variations:

```
HTTPArchive.js/
└── dist
    ├── chrome.sockets.tcp.xhr.js
    └── chrome.sockets.tcp.xhr.min.js
```

### Sample Usage

making a simple XHR request with sockets:

```javascript
var xhr = new chrome.sockets.tcp.xhr();

xhr.onreadystatechange = function() {<commit_msg>more cleanup of README<commit_after># chrome.sockets.tcp.xhr ![GitHub version][github-image]

[![Build Status][travis-image]][travis-url]
[![Dependency Status][daviddm-url]][daviddm-image]
[![devDependency Status][daviddm-dev-url]][daviddm-dev-image]
[![Coverage Status][coveralls-image]][coveralls-url]
[![Total views][sourcegraph-image]][sourcegraph-url]

an `XMLHttpRequest` drop-in replacement using [chrome.sockets.tcp](http://developer.chrome.com/apps/sockets_tcp) for [Chrome Apps](http://developer.chrome.com/apps/about_apps)

**NOTE: This is still in pre-release stage, use at your own risk, cannot gaurantee functionality**

## TO DO

- Full Compatibility with W3C XMLHttpRequest Spec
- HTTPS support

## Table of contents

- [Quick start](#quick-start)
- [Change Log](#changelog)
- [Documentation](#documentation)
- [Bugs and feature requests](#bugs-and-feature-requests)
- [Compiling](#compiling)
- [Contributing](#contributing)
- [Contribute and Earn](#contribute-and-earn)
- [Donating](#donating)
- [Community](#community)
- [Versioning](#versioning)
- [Authors](#authors)
- [License](#license)

## Quick start

Four quick start options are available:

- [Download the latest release](https://github.com/codeinchaos/chrome.sockets.tcp.xhr/releases).
- Clone the repo: 
  ```bash
git clone <EMAIL>:codeinchaos/chrome.sockets.tcp.xhr.git
```

- Install with [Bower](http://bower.io) [![Bower version][bower-image]][bower-url]
  ```bash
bower install chrome.sockets.tcp.xhr
```

- Install with [NPM](http://npmjs.<EMAIL>) [![NPM version][npm-image]][npm-url]
  ```bash
npm install chrome.sockets.tcp.xhr
```

### What's included

Within the download you'll find the following files, providing both compiled and minified variations:

```
HTTPArchive.js/
└── dist
    ├── chrome.sockets.tcp.xhr.js
    └── chrome.sockets.tcp.xhr.min.js
```

### Sample Usage

making a simple XHR request with sockets:

```javascript
var xhr = new chrome.sockets.tcp.xhr();

xhr.onreadystatechange = function() {
{'fraction_non_alphanumeric': 0.16712881270481472, 'fraction_numerical': 0.0005041593143433325, 'mean_word_length': 5.4207119741100325, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 1, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2029801', 'n_tokens_mistral': 1431, 'n_tokens_neox': 1325, 'n_words': 294}