# nuclide-analytics

> Provides a standard API for packages to send analytics to arbitrary providers.

Latest version **0.0.35** (published 2015-11-25) · SEE LICENSE IN LICENSE license · 0 weekly downloads

## Install

```sh
npm install nuclide-analytics
pnpm add nuclide-analytics
yarn add nuclide-analytics
bun add nuclide-analytics
```

## 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.0.35 |
| Published | 2015-11-25 |
| First published | 2015-05-22 |
| Weekly downloads | 0 |
| License | SEE LICENSE IN LICENSE |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Known vulnerabilities | 0 (+3 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 7710 |
| Maintainers | fb |

## Links

- npm: https://www.npmjs.com/package/nuclide-analytics
- Repository: https://github.com/facebook/nuclide
- Homepage: https://github.com/facebook/nuclide#readme
- Issues: https://github.com/facebook/nuclide/issues
- npm.io page: https://npm.io/package/nuclide-analytics

## Dependencies (3)

- [parse](https://npm.io/package/parse.md) 1.3.0
- [nuclide-commons](https://npm.io/package/nuclide-commons.md) 0.0.35
- [nuclide-logging](https://npm.io/package/nuclide-logging.md) 0.0.35

## Recent versions

- 0.0.35 (latest) — 2015-11-25
- 0.0.34 — 2015-11-12
- 0.0.32 — 2015-09-15
- 0.0.31 — 2015-09-15
- 0.0.30 — 2015-08-07
- 0.0.29 — 2015-08-06
- 0.0.28 — 2015-08-06
- 0.0.26 — 2015-08-03
- 0.0.25 — 2015-08-02
- 0.0.24 — 2015-07-06
- 0.0.23 — 2015-07-06
- 0.0.22 — 2015-06-26
- 0.0.21 — 2015-06-23
- 0.0.20 — 2015-06-23
- 0.0.19 — 2015-06-23
- … 14 more at https://npm.io/package/nuclide-analytics/versions

## README

# nuclide-analytics package

Provides a standard API that packages can use to send analytics, in a consistent way, to arbitrary providers.

Common usage:

```js
const {track} = require('nuclide-analytics');

const booleanState = false;
const numericState = 42;
const stringState = 'foobar';

function doStuff(arg: string) {
  // Note that all metadata values on the second argument must be strings.
  track('example-package-doStuff', {
    bool: String(booleanState),
    num: String(numericState),
    str: stringState,
  });
}
```

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