Nominating Presidential Muppets

    koa-cure

    0.2.0 • Public • Published

    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

    Keywords

    none

    Install

    npm i koa-cure

    DownloadsWeekly Downloads

    1

    Version

    0.2.0

    License

    MIT

    Last publish

    Collaborators

    • fundon