siren-lusca
Web application security middleware for koa. This middleware is modified based on lusca.
Usage
var koa = app = session = bodyParser = lusca = ; appkeys = "abc";app;app; app;
Setting any value to false
will disable it. Alternately, you can opt into methods one by one:
app;app;app;app;app;app;app;app;app;
Please note that you must ensure the existence of ctx.session
.
API
Please refer to lusca or the comments in the source code.
Tests
$ npm test
Coverage
$ npm test-cov```