Skip to content

koa-modules/koa-cure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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));

API

cure.csrf([app, options])

Dependencies

About

[DEPRECATED] Application security for koa apps.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published