# navigator.sendbeacon

> Polyfill for navigator.sendBeacon()

Latest version **0.0.20** (published 2019-11-28) · MIT license · 0 weekly downloads

## Install

```sh
npm install navigator.sendbeacon
pnpm add navigator.sendbeacon
yarn add navigator.sendbeacon
bun add navigator.sendbeacon
```

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.20 |
| Published | 2019-11-28 |
| First published | 2015-04-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 9.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Miguel Mota |
| Maintainers | miguelmota |
| Keywords | navigator, beacon, polyfill |

## Links

- npm: https://www.npmjs.com/package/navigator.sendbeacon
- Repository: https://github.com/miguelmota/Navigator.sendBeacon
- Issues: https://github.com/miguelmota/Navigator.sendBeacon/issues
- npm.io page: https://npm.io/package/navigator.sendbeacon

## Recent versions

- 0.0.20 (latest) — 2019-11-28
- 0.0.19 — 2019-10-18
- 0.0.18 — 2019-09-23
- 0.0.17 — 2019-09-23
- 0.0.16 — 2019-09-23
- 0.0.15 — 2019-09-23
- 0.0.14 — 2018-10-26
- 0.0.13 — 2018-10-04
- 0.0.12 — 2018-10-03
- 0.0.11 — 2018-10-03
- 0.0.10 — 2018-10-03
- 0.0.9 — 2017-10-31
- 0.0.8 — 2017-10-23
- 0.0.7 — 2017-10-22
- 0.0.6 — 2017-08-14
- … 5 more at https://npm.io/package/navigator.sendbeacon/versions

## README

# Navigator.sendBeacon polyfill

Polyfill for [Navigator.sendBeacon()](http://www.w3.org/TR/beacon/#sec-sendBeacon-method)

[![NPM](https://nodei.co/npm/navigator.sendbeacon.png)](https://nodei.co/npm/navigator.sendbeacon)

## Install

Using NPM:

```bash
npm install navigator.sendbeacon
```

Using JavaScript source:

```html
<script src="https://unpkg.com/navigator.sendbeacon"></script>
<!-- OR -->
<script src="https://cdn.jsdelivr.net/npm/navigator.sendbeacon"></script>
```

## Usage

Read the [MDN Navigator.sendBeacon()](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/sendBeacon) documentation.

## License

MIT

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