{ "html": "
\n

Installation

\n

Raven is distributed via npm:

\n
$ npm install raven --save\n
\n
\n
\n\n\n
\n

Koa

\n
var koa = require('koa');\nvar Raven = require('raven');\n\nvar app = koa();\nRaven.config('___DSN___').install();\n\napp.on('error', function (err) {\n    Raven.captureException(err, function (err, eventId) {\n        console.log('Reported error ' + eventId);\n    });\n});\n\napp.listen(3000);\n
\n
\n
\n", "link": "https://docs.getsentry.com/clients/node/integrations/koa/", "id": "node-koa", "name": "Koa" }