# alyne-errtracker

> alyne error tracker lib

Latest version **3.3.5** (published 2019-01-19) · WTFPL license · 0 weekly downloads

## Install

```sh
npm install alyne-errtracker
pnpm add alyne-errtracker
yarn add alyne-errtracker
bun add alyne-errtracker
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 3.3.5 |
| Published | 2019-01-19 |
| First published | 2018-01-17 |
| Weekly downloads | 0 |
| License | WTFPL |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=8.9.* |
| Dependencies | 1 |
| Unpacked size | 67.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Alyne |
| Maintainers | manuelreil |

## Links

- npm: https://www.npmjs.com/package/alyne-errtracker
- Repository: https://github.com/alyne/lib-errTracker
- Issues: https://github.com/alyne/lib-errTracker/issues
- npm.io page: https://npm.io/package/alyne-errtracker

## Dependencies (1)

- [raygun](https://npm.io/package/raygun.md) ^0.9.1

## Recent versions

- 3.3.5 (latest) — 2019-01-19
- 3.3.4 — 2019-01-17
- 3.3.3 — 2019-01-16
- 3.3.2 — 2018-12-20
- 3.3.1 — 2018-12-19
- 3.3.0 — 2018-10-17
- 3.2.0 — 2018-08-31
- 3.1.0 — 2018-08-08
- 3.0.0 — 2018-07-22
- 2.1.2 — 2018-04-27
- 2.1.1 — 2018-04-20
- 2.1.0 — 2018-04-10
- 2.0.1 — 2018-03-24
- 1.0.1 — 2018-01-18
- 1.0.0 — 2018-01-17

## README

## Alyne Errortracker
A simple ErrorTracker-Module for Raygun.

## How it works
First of all you should require the Errortracker module.

    const errtracker = require("alyne-errtracker");
Next step is initializing the component by running the init-function. If you using  SailsJS, errtracker will read out the environment by itself.

    // Simple as it gets.
    errtracker.init("YOUR_API_KEY");

    // Example with custom environment.
    errtracker.init("YOUR_API_KEY", { env:"prod" });
Now you're set, so you can start to track some errors :).

    // Simple error tracking with String
    errtracker.trackError("Thats a test error from node lib");

    // or Error Object
    errtracker.trackError(new Error("Thats a test error from node lib"));

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