# bugsnag

> Bugsnag notifier for node.js scripts

Latest version **2.4.3** (published 2018-06-22) · MIT license · 8.3K weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install bugsnag
pnpm add bugsnag
yarn add bugsnag
bun add bugsnag
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 2.4.3 |
| Published | 2018-06-22 |
| First published | 2012-01-16 |
| Weekly downloads | 8.3K |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 6 |
| Unpacked size | 169.7 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 48 |
| Maintainers | bengourley, bullmo, cawllec, kattrali, keeganlow, loopj, snmaynard |
| Keywords | error, bugsnag, exception |

## Links

- npm: https://www.npmjs.com/package/bugsnag
- Repository: https://github.com/bugsnag/bugsnag-node
- Homepage: http://bugsnag.com
- Issues: https://github.com/bugsnag/bugsnag-node/issues
- npm.io page: https://npm.io/package/bugsnag

## Dependencies (6)

- [cuid](https://npm.io/package/cuid.md) ^1.3.8
- [backo](https://npm.io/package/backo.md) ^1.1.0
- [promise](https://npm.io/package/promise.md) 7.x
- [request](https://npm.io/package/request.md) ^2.81.0
- [stack-trace](https://npm.io/package/stack-trace.md) ~0.0.9
- [json-stringify-safe](https://npm.io/package/json-stringify-safe.md) ~5.0.1

## 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

- 2.4.3 (latest) — 2018-06-22
- 2.1.0-0 (unstable) — 2017-12-13
- 2.4.2 — 2018-06-12
- 2.4.1 — 2018-06-07
- 2.4.0 — 2018-06-01
- 2.3.1 — 2018-03-15
- 2.3.0 — 2018-03-01
- 2.2.0 — 2018-02-22
- 2.1.3 — 2018-01-25
- 2.1.2 — 2018-01-09
- 2.1.1 — 2018-01-08
- 2.1.0 — 2018-01-08
- 2.0.1 — 2017-10-23
- 2.0.0 — 2017-10-02
- 1.12.2 — 2017-09-13
- … 48 more at https://npm.io/package/bugsnag/versions

## README

# Bugsnag error reporter for Node.js
[![Build Status](https://travis-ci.org/bugsnag/bugsnag-node.svg)](https://travis-ci.org/bugsnag/bugsnag-node)

Automatically detect synchronous and asynchronous errors in your Node.js apps,
collect diagnostic information, and receive notifications immediately.

Learn more about [error reporting](https://www.bugsnag.com/) with Bugsnag.

## Features

* Automatically report synchronous and asynchronous errors
* Report handled errors
* Attach user information to determine how many people are affected by a crash
* Send customized diagnostic data

## Getting started

1. [Create a Bugsnag account](https://www.bugsnag.com)
2. Complete the instructions in the integration guide for your framework:
    * [Express or Connect](https://docs.bugsnag.com/platforms/nodejs/express)
    * [Koa](https://docs.bugsnag.com/platforms/nodejs/koa)
    * [Restify](https://docs.bugsnag.com/platforms/nodejs/restify)
    * [Other Node.js apps](https://docs.bugsnag.com/platforms/nodejs/other)
3. Relax!

## Support

* Read the configuration reference:
    * [Express or Connect](https://docs.bugsnag.com/platforms/nodejs/express/configuration-options)
    * [Koa](https://docs.bugsnag.com/platforms/nodejs/koa/configuration-options)
    * [Restify](https://docs.bugsnag.com/platforms/nodejs/restify/configuration-options)
    * [Other Node.js apps](https://docs.bugsnag.com/platforms/nodejs/other/configuration-options)
* [Search open and closed issues](https://github.com/bugsnag/bugsnag-node/issues?utf8=✓&q=is%3Aissue) for similar problems
* [Report a bug or request a feature](https://github.com/bugsnag/bugsnag-node/issues/new)

## Contributing

All contributors are welcome! For information on how to build, test
and release `bugsnag-node`, see our
[contributing guide](https://github.com/bugsnag/bugsnag-node/blob/master/CONTRIBUTING.md).

## License

The Bugsnag error reporter for Node.js is free software released under the MIT
License.  See
[LICENSE.txt](https://github.com/bugsnag/bugsnag-node/blob/master/LICENSE.txt)
for details.

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