# aurelia-fetch-client

> A simple client based on the Fetch standard.

Latest version **1.8.2** (published 2019-03-15) · MIT license · 0 weekly downloads

## Install

```sh
npm install aurelia-fetch-client
pnpm add aurelia-fetch-client
yarn add aurelia-fetch-client
bun add aurelia-fetch-client
```

## Health

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

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

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.8.2 |
| Published | 2019-03-15 |
| First published | 2015-11-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 191.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 74 |
| Author | Rob Eisenberg |
| Maintainers | aureliaeffect |
| Keywords | aurelia, http, ajax, fetch |

## Links

- npm: https://www.npmjs.com/package/aurelia-fetch-client
- Repository: https://github.com/aurelia/fetch-client
- Homepage: http://aurelia.io
- Issues: https://github.com/aurelia/fetch-client/issues
- npm.io page: https://npm.io/package/aurelia-fetch-client

## Dependencies (1)

- [aurelia-pal](https://npm.io/package/aurelia-pal.md) ^1.3.0

## Alternatives

- [launchdarkly-js-client-sdk](https://npm.io/package/launchdarkly-js-client-sdk.md) — 2.5M weekly downloads
- [@elastic/elasticsearch](https://npm.io/package/@elastic/elasticsearch.md) — 2.1M weekly downloads
- [@c8y/client](https://npm.io/package/@c8y/client.md) — 15.3K weekly downloads
- [@signaldb/maverickjs](https://npm.io/package/@signaldb/maverickjs.md) — 1.7K weekly downloads
- [@bbc/http-transport-cache](https://npm.io/package/@bbc/http-transport-cache.md) — 1.2K weekly downloads

## Recent versions

- 1.8.2 (latest) — 2019-03-15
- 1.8.1 — 2019-03-15
- 1.8.0 — 2019-01-18
- 1.7.0 — 2018-12-01
- 1.6.0 — 2018-09-25
- 1.5.0 — 2018-09-11
- 1.4.0 — 2018-06-14
- 1.3.1 — 2018-01-30
- 1.3.0 — 2018-01-24
- 1.2.0 — 2017-12-20
- 1.1.3 — 2017-08-22
- 1.1.2 — 2017-03-23
- 1.1.1 — 2017-02-21
- 1.1.0 — 2016-12-03
- 1.0.1 — 2016-10-03
- … 15 more at https://npm.io/package/aurelia-fetch-client/versions

## README

# aurelia-fetch-client

[![npm Version](https://img.shields.io/npm/v/aurelia-fetch-client.svg)](https://www.npmjs.com/package/aurelia-fetch-client)
[![ZenHub](https://raw.githubusercontent.com/ZenHubIO/support/master/zenhub-badge.png)](https://zenhub.io)
[![Join the chat at https://gitter.im/aurelia/discuss](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/aurelia/discuss?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[![CircleCI](https://circleci.com/gh/aurelia/fetch-client.svg?style=shield)](https://circleci.com/gh/aurelia/fetch-client)

This library is part of the [Aurelia](http://www.aurelia.io/) platform and contains a simple client based on the Fetch standard.

> To keep up to date on [Aurelia](http://www.aurelia.io/), please visit and subscribe to [the official blog](http://blog.aurelia.io/) and [our email list](http://eepurl.com/ces50j). We also invite you to [follow us on twitter](https://twitter.com/aureliaeffect). If you have questions look around our [Discourse forums](https://discourse.aurelia.io/), chat in our [community on Gitter](https://gitter.im/aurelia/discuss) or use [stack overflow](http://stackoverflow.com/search?q=aurelia). Documentation can be found [in our developer hub](http://aurelia.io/docs). If you would like to have deeper insight into our development process, please install the [ZenHub](https://zenhub.io) Chrome or Firefox Extension and visit any of our repository's boards.

## Documentation

You can read documentation on the fetch client [here](http://aurelia.io/docs/plugins/http-services#aurelia-fetch-client). If you would like to help improve this documentation, the source for the above can be found in the doc folder within this repository.

## Platform Support

This library can be used in the browser or on the server. A Fetch API polyfill may be needed.

## Building The Code

To build the code, follow these steps.

1. Ensure that [NodeJS](http://nodejs.org/) is installed. This provides the platform on which the build tooling runs.
2. From the project folder, execute the following command:

  ```shell
  npm install
  ```
3. To build the code, you can now run:

  ```shell
  npm run build
  ```
4. You will find the compiled code in the `dist` folder, available in module formats: ESM, AMD, CommonJS and UMD.

## Running The Tests

To run the unit tests, first ensure that you have followed the steps above in order to install all dependencies and successfully build the library. Once you have done that, proceed with these additional steps:

1. You can now run the tests with this command:

  ```shell
  npm run test
  ```

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