# umi-plugin-sentry

> umi plugin for sentry

Latest version **0.1.1** (published 2019-01-08) · MIT license · 0 weekly downloads

## Install

```sh
npm install umi-plugin-sentry
pnpm add umi-plugin-sentry
yarn add umi-plugin-sentry
bun add umi-plugin-sentry
```

## 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.1.1 |
| Published | 2019-01-08 |
| First published | 2019-01-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 7.6 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 10 |
| Author | Leza Lutonda |
| Maintainers | lemol |
| Keywords | umi, umijs, sentry, plugin, umi-plugin |

## Links

- npm: https://www.npmjs.com/package/umi-plugin-sentry
- Repository: https://github.com/lemol/umi-plugin-sentry
- Homepage: https://github.com/lemol/umi-plugin-sentry#readme
- Issues: https://github.com/lemol/umi-plugin-sentry/issues
- npm.io page: https://npm.io/package/umi-plugin-sentry

## Dependencies (1)

- [@sentry/browser](https://npm.io/package/@sentry/browser.md) ^4.4.0

## Alternatives

- [@sentry/react-native](https://npm.io/package/@sentry/react-native.md) — 2.6M weekly downloads
- [@ardatan/aggregate-error](https://npm.io/package/@ardatan/aggregate-error.md) — 708.1K weekly downloads
- [custom-error-generator](https://npm.io/package/custom-error-generator.md) — 2.0K weekly downloads
- [@technik-sde/prosemirror-recreate-transform](https://npm.io/package/@technik-sde/prosemirror-recreate-transform.md) — 1.5K weekly downloads
- [@suchipi/error-utils](https://npm.io/package/@suchipi/error-utils.md) — 78 weekly downloads

## Recent versions

- 0.1.1 (latest) — 2019-01-08
- 0.1.0 — 2019-01-07

## README

# umi-plugin-sentry

[![NPM version](https://img.shields.io/npm/v/umi-plugin-sentry.svg?style=flat)](https://npmjs.org/package/umi-plugin-sentry)

Umi plugin for sentry.

## Install

```bash
yarn add --dev umi-plugin-sentry # OR npm install --save-dev umi-plugin-sentry
```

## Use

Just setup the plugin on `.umirc.js`

```js
export default {
  plugins: [
    // ...
    ['umi-plugin-sentry', options],
    // ...
  ],
}
```

## Options

| name                               | type                             | default                                      |
|------------------------------------|----------------------------------|----------------------------------------------|
| dsn                                | string (required in production)  | `process.env.SENTRY_DSN`                     |
| log (log to console before send)   | boolean (optional)               | `NODE_ENV === 'development' ? true : false`  |

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