# fetch-detector

> Detector fetch based on browser version

Latest version **1.0.1** (published 2017-02-27) · MIT license · 0 weekly downloads

## Install

```sh
npm install fetch-detector
pnpm add fetch-detector
yarn add fetch-detector
bun add fetch-detector
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2017-02-27 |
| First published | 2015-09-30 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 39 |
| Maintainers | camsong |
| Keywords | fetch, github fetch, ajax |

## Links

- npm: https://www.npmjs.com/package/fetch-detector
- Repository: https://github.com/camsong/fetch-detector
- Homepage: https://github.com/camsong/fetch-detector#readme
- Issues: https://github.com/camsong/fetch-detector/issues
- npm.io page: https://npm.io/package/fetch-detector

## 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.0.1 (latest) — 2017-02-27
- 1.0.0 — 2015-09-30

## README

## Fetch Detector

有些浏览器虽然支持 Fetch API 但不完整，如 Chrome 45 和 Firefox 33 版本 response
中的[中文会乱码](https://code.google.com/p/chromium/issues/detail?id=511289)[2](https://code.google.com/p/chromium/issues/detail?id=516931)。本库的作用是只在 Chrome >= 46，Firefox >= 39 时才开启原生
Fetch，否则使用 XHR polyfill。

## Install

```
npm install 'fetch-detector'
```

## Usage

一定要与 fetch-ie8 一起使用， 并且放到 fetch-ie8 前引用。

```js
import 'fetch-detector'
import 'fetch-ie8'
```

## License
MIT

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