# @forzoom/mta

> #### clickStat(id, params): void - 参数 - id: string - params: any

Latest version **0.0.7** (published 2018-11-27) · MIT license · 0 weekly downloads

## Install

```sh
npm install @forzoom/mta
pnpm add @forzoom/mta
yarn add @forzoom/mta
bun add @forzoom/mta
```

## Health

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

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

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.7 |
| Published | 2018-11-27 |
| First published | 2017-07-13 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 7.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Forzoom |
| Maintainers | forzoom |

## Links

- npm: https://www.npmjs.com/package/@forzoom/mta
- Repository: https://github.com/Forzoom/mta
- Homepage: https://github.com/Forzoom/mta#readme
- Issues: https://github.com/Forzoom/mta/issues
- npm.io page: https://npm.io/package/@forzoom/mta

## Recent versions

- 0.0.7 (latest) — 2018-11-27
- 0.0.6 — 2018-11-26
- 0.0.5 — 2018-11-26
- 0.0.4 — 2018-11-06
- 0.0.3 — 2017-08-30
- 0.0.2 — 2017-07-14
- 0.0.1 — 2017-07-13

## README

### Api

#### clickStat(id, params): void
- 参数
	- id: string
	- params: any

触发clickStat

#### clickStatEqual(id, params, test, value): boolean
- 参数
	- id: string
	- params: any
	- test: any
	- value: any
- 返回值 `是否触发clickStat`

只有在test === value情况下触发

#### clickStatNotNull(id, params, test): boolean
- 参数
	- id: string
	- params: any
	- test: any
- 返回值 `是否触发clickStat`

只有在test !== null情况下触发

#### clickStatTrue(id, params, test): boolean
- 参数
	- id: string
	- params: any
	- test: any
- 返回值 `是否触发clickStat`

只有在test === true情况下触发

#### clickStatNotEqual(id, params, test, value): boolean
- 参数
	- id: string
	- params: any
	- test: any
	- value: any
- 返回值 `是否触发clickStat`

只有在test !== value情况下触发

#### factory(name)
- 返回值: `ClickStatCollection`

其中

	interface ClickStatCollection {
		clickStat(id:string, params: any): void;
		clickStatEqual(id: string, params: any, test: any, value: any): boolean;
		clickStatNotNull(id: string, params: any, test: any): boolean;
		clickStatTrue(id: string, params: any, test: any): boolean;
		clickStatNotEqual(id: string, params: any, test: any, value: any): boolean;
	}

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