koa-cure
v0.2.0
Published
Application security for koa apps.
Downloads
8
Readme
koa-cure
Application security for koa apps.
Usage
var koa = request('koa');
var app = koa();
var cure = require('koa-cure');
// 1.
app.use(cure({
csrf: options
}));
// or
// 2.
cure.csrf(app, options);
// or
// 3.
app.use(cure.csrf(ptions));