# ember-cli-uncharted-ajax

> jQuery ajax wrapper for use with Ember.js

Latest version **0.0.7** (published 2015-11-01) · MIT license · 0 weekly downloads

## Install

```sh
npm install ember-cli-uncharted-ajax
pnpm add ember-cli-uncharted-ajax
yarn add ember-cli-uncharted-ajax
bun add ember-cli-uncharted-ajax
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.7 |
| Published | 2015-11-01 |
| First published | 2015-02-03 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >= 0.10.0 |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | nathanpalmer |
| Keywords | ember-addon |

## Links

- npm: https://www.npmjs.com/package/ember-cli-uncharted-ajax
- Repository: https://github.com/unchartedcode/ajax
- Issues: https://github.com/unchartedcode/ajax/issues
- npm.io page: https://npm.io/package/ember-cli-uncharted-ajax

## Recent versions

- 0.0.7 (latest) — 2015-11-01
- 0.0.6 — 2015-03-23
- 0.0.5 — 2015-02-18
- 0.0.4 — 2015-02-11
- 0.0.3 — 2015-02-10
- 0.0.2 — 2015-02-03
- 0.0.1 — 2015-02-03

## README

# UnchartedCode Ajax [![Build Status][travis-badge]][travis-badge-url]

This is an extremely simple wrapper around [jQuery's ajax](http://api.jquery.com/jquery.ajax/) method which makes working testing an Ember environment easier. Comparable to [ic-ajax](https://github.com/instructure/ic-ajax) however they didn't give access to jqXHR at the time of this projects creation.

## Installation

Include the library as a dependency from within an [ember-cli](http://www.ember-cli.com/) application.

```bash
ember install:addon ember-cli-uncharted-ajax
```

## Usage

Import into your project

```javascript
import UnchartedAjax from 'uncharted-ajax';
```

and then use it in your code.

```javascript
// Url only, defaults to GET
UnchartedAjax("https://api.somedomain.com/users")

// Url and Options
UnchartedAjax("https://api.somedomain.com/user", {
  method: "POST"
})

// Options all the way
UnchartedAjax({
  url: "https://api.somedomain.com/user",
  method: "POST"
})
```

## Development

### Installation

* `git clone` this repository
* `npm install`
* `bower install`

### Running

* `ember server`
* Visit your app at http://localhost:4200.

### Running Tests

* `ember test`
* `ember test --server`

### Building

* `ember build`

For more information on using ember-cli, visit [http://www.ember-cli.com/](http://www.ember-cli.com/).

[travis-badge]: https://travis-ci.org/unchartedcode/ajax.svg?branch=master
[travis-badge-url]: https://travis-ci.org/unchartedcode/ajax

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