# ajax-worker

> ## How to Install

Latest version **1.2.13** (published 2018-06-25) · MIT license · 0 weekly downloads

## Install

```sh
npm install ajax-worker
pnpm add ajax-worker
yarn add ajax-worker
bun add ajax-worker
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.2.13 |
| Published | 2018-06-25 |
| First published | 2017-09-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 7 |
| Unpacked size | 47.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 7 |
| Author | Dan C Castro |
| Maintainers | dan2dev |

## Links

- npm: https://www.npmjs.com/package/ajax-worker
- Repository: https://github.com/dan2dev/ajax-worker
- Homepage: https://github.com/dan2dev/ajax-worker#readme
- Issues: https://github.com/dan2dev/ajax-worker/issues
- npm.io page: https://npm.io/package/ajax-worker

## Dependencies (7)

- [uniqid](https://npm.io/package/uniqid.md) ^5.0.3
- [@types/node](https://npm.io/package/@types/node.md) ^10.3.5
- [object-hash](https://npm.io/package/object-hash.md) ^1.3.0
- [@types/uniqid](https://npm.io/package/@types/uniqid.md) ^4.1.2
- [utility-collection](https://npm.io/package/utility-collection.md) ^2.2.3
- [resolve-relative-url](https://npm.io/package/resolve-relative-url.md) ^1.0.0
- [@types/window-or-global](https://npm.io/package/@types/window-or-global.md) ^1.0.0

## Recent versions

- 1.2.13 (latest) — 2018-06-25
- 1.2.12 — 2018-06-25
- 1.2.11 — 2018-06-25
- 1.2.10 — 2018-06-25
- 1.2.9 — 2018-06-25
- 1.2.8 — 2018-06-25
- 1.2.7 — 2018-06-25
- 1.2.6 — 2018-06-21
- 1.2.5 — 2018-06-21
- 1.2.4 — 2018-06-18
- 1.2.3 — 2018-05-03
- 1.8.10 — 2018-01-30
- 1.8.9 — 2018-01-30
- 1.8.8 — 2018-01-30
- 1.8.7 — 2018-01-25
- … 58 more at https://npm.io/package/ajax-worker/versions

## README

# ajax-worker

## How to Install

```bash
$ npm install ajax-worker --save
```

### How to Use ###

```javascript

import AjaxWorker from "ajax-worker";

AjaxWorker.fetch({
    url: "/somerequest.json",
    onSuccess: (response) => {
        // put your code here
    },
    onAbort: (request) => {
        // put your abort code here
    }
});

```

---
_Source: https://npm.io/package/ajax-worker · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
