express-client-errorlog
v0.0.3
Published
Express middleware for server-side logging of client-side Javascript errors
Downloads
3
Maintainers
Readme
express-client-errorlog
Express middleware for server-side logging of client-side Javascript errors.
Example
In your express app:
var express = require('express');
var errorlog = require('express-client-errorlog');
var app = express();
app.use(errorlog());
In your client-side HTML:
<script src='/path/to/express/app/errorlog.js'></script>
Options
app.use(errorlog(options));