# @anka-dev/tracker

> &nbsp;&nbsp;&nbsp;Tracker

Latest version **0.4.5** (published 2018-12-27) · MIT license · 0 weekly downloads

## Install

```sh
npm install @anka-dev/tracker
pnpm add @anka-dev/tracker
yarn add @anka-dev/tracker
bun add @anka-dev/tracker
```

## 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.4.5 |
| Published | 2018-12-27 |
| First published | 2018-08-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Unpacked size | 218.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 34 |
| Maintainers | great_old_ones, joe223, lr_5146, parallel-world, shitianjie, slark |

## Links

- npm: https://www.npmjs.com/package/@anka-dev/tracker
- Repository: https://github.com/iException/anka-tracker
- Homepage: https://github.com/iException/anka-tracker#readme
- Issues: https://github.com/iException/anka-tracker/issues
- npm.io page: https://npm.io/package/@anka-dev/tracker

## Dependencies (4)

- [qs](https://npm.io/package/qs.md) ^6.5.2
- [tslib](https://npm.io/package/tslib.md) ^1.9.3
- [@types/qs](https://npm.io/package/@types/qs.md) ^6.5.1
- [await-to-js](https://npm.io/package/await-to-js.md) ^2.0.1

## Recent versions

- 0.4.5 (latest) — 2018-12-27
- 0.4.4 — 2018-11-14
- 0.4.3 — 2018-11-14
- 0.4.2 — 2018-11-14
- 0.4.1 — 2018-11-12
- 0.4.0 — 2018-11-12
- 0.3.3 — 2018-10-12
- 0.3.2 — 2018-10-11
- 0.3.1 — 2018-10-09
- 0.3.0 — 2018-09-28
- 0.2.0 — 2018-09-04
- 0.0.11 — 2018-08-29
- 0.0.10 — 2018-08-27
- 0.0.9 — 2018-08-25
- 0.0.8 — 2018-08-21
- … 1 more at https://npm.io/package/@anka-dev/tracker/versions

## README

<p>
  <img src="https://user-images.githubusercontent.com/10026019/48325653-9fb60800-e671-11e8-9e5f-46e625d8159f.png" width="300"/>
  <b>&nbsp;&nbsp;&nbsp;Tracker</b>
</p>

<p>
	<a href="https://www.npmjs.com/package/@anka-dev/tracker">
	<img src="https://badge.fury.io/js/%40anka-dev%2Ftracker.svg"/>
	</a>
</p>

小程序打点库，用于统计用户行为数据。

# 功能

anka-tracker 会将打点任务缓存到队列中，对打点任务做限流处理，避免占用太多HTTP请求导致业务逻辑请求无法顺利完成。另外，当离线或应用关闭时任务会被暂停，直到重新连线/重启后，tracker 会继续先前未完成的任务。

详细配置见 [./src/types/types.d.ts](./src/types/types.d.ts)

适用于小程序/小游戏。

# 使用
	
[文档](https://iexception.github.io/anka-doc/book/library/tracker.html)

# 参考

- [src/types/BxTracker.d.ts](./src/types/BxTracker.d.ts)

- [src/types/types.d.ts](./src/types/types.d.ts)

- [小程序及小游戏示例](./test)

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