# vitals-track-event

> Vitals Track event library

Latest version **1.0.6** (published 2021-07-31) · MIT license · 0 weekly downloads

## Install

```sh
npm install vitals-track-event
pnpm add vitals-track-event
yarn add vitals-track-event
bun add vitals-track-event
```

## Health

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

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.6 |
| Published | 2021-07-31 |
| First published | 2021-07-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 10 |
| Unpacked size | 14.2 KB |
| Known vulnerabilities | 0 (+5 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Stefano Gagliardi |
| Maintainers | vitals.io |
| Keywords | library, starter, es6 |

## Links

- npm: https://www.npmjs.com/package/vitals-track-event
- Repository: https://github.com/vitals-io/vitals-track-event
- Issues: https://github.com/vitals-io/vitals-track-event/issues
- npm.io page: https://npm.io/package/vitals-track-event

## Dependencies (10)

- [chalk](https://npm.io/package/chalk.md) 4.1.1
- [execa](https://npm.io/package/execa.md) ^5.1.1
- [js-yaml](https://npm.io/package/js-yaml.md) 4.1.0
- [fs-extra](https://npm.io/package/fs-extra.md) ^10.0.0
- [inquirer](https://npm.io/package/inquirer.md) 8.1.0
- [commander](https://npm.io/package/commander.md) 6.1.0
- [node-fetch](https://npm.io/package/node-fetch.md) ^2.6.1
- [@sentry/node](https://npm.io/package/@sentry/node.md) ^6.9.0
- [@sentry/tracing](https://npm.io/package/@sentry/tracing.md) ^6.8.0
- [node-machine-id](https://npm.io/package/node-machine-id.md) ^1.1.12

## Alternatives

- [lodash.startswith](https://npm.io/package/lodash.startswith.md) — 769.7K weekly downloads
- [@tarojs/service](https://npm.io/package/@tarojs/service.md) — 33.9K weekly downloads
- [io.extendreality.tilia.indicators.spatialtargets.unity](https://npm.io/package/io.extendreality.tilia.indicators.spatialtargets.unity.md) — 131 weekly downloads
- [@rtarojs/taro](https://npm.io/package/@rtarojs/taro.md) — 90 weekly downloads
- [node-branch-io](https://npm.io/package/node-branch-io.md) — 50 weekly downloads

## Recent versions

- 1.0.6 (latest) — 2021-07-31
- 1.0.5 — 2021-07-18
- 1.0.4 — 2021-07-18
- 1.0.3 — 2021-07-18
- 1.0.2 — 2021-07-18
- 1.0.1 — 2021-07-17

## README

# Vitals-track-events

Library with helpers functrion for trasck and register events and error on Backend and sentry both.

## Init sentry

Class constructuror:

1. Need a Sentry key for start event tracking
2. Vitals installation option (scope)

### Publish

NB: Nel file "tsconfig.json" è stata aggiunta la seguente proprietà per fare generare eventuali Types mancanti:

```json
{
  "emitDeclarationOnly": false,
  "declaration": true
}
```

NB: Nel file "package.json" per librerie NodeJs è stato necessario specificare quanto segue (per poterr pubblicare la cartella dist):

```json
{
  "main": "./dist/index.js",
  "types": "./dist/index.d.ts",
  "directories": {
    "dist": "./dist"
  }
}
```

**Action per pubblicazione:**
npx np or npm publish for publish a package update.

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