{ "html": "
Raven is distributed via npm
:
$ npm install raven --save\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