Airbrake for Node.js
![Build Status](https://travis-ci.org/airbrake/airbrake-js.svg?branch=master)
This is the JavaScript notifier for capturing errors in Node.js and reporting them to Airbrake. For web browsers there is a separate package.
Installation
airbrake can be installed using yarn:
yarn add @airbrake/node
or using npm:
npm install @airbrake/node
Example configurations can be found in examples, including:
Node.js request and proxy
In order to configure request HTTP client you can pass request
option which accepts request wrapper:
var airbrake = new Airbrake.Notifier({
...
request: request.defaults({'proxy':'http://localproxy.com'})
});
Contributing
Install dependencies:
yarn install
Run unit tests:
yarn test
Build project:
yarn build
Credits
Airbrake is maintained and funded by airbrake.io
Thank you to all the contributors.
The names and logos for Airbrake are trademarks of Airbrake Technologies Inc.
License
Airbrake is Copyright © 2008-2017 Airbrake Technologies Inc. It is free software, and may be redistributed under the terms specified in the MIT-LICENSE file.