/methodoverride

HTTP method override middleware for koa

Primary LanguageJavaScriptMIT LicenseMIT

koa-methodoverride

HTTP method override middleware for koa.

Forked from Express method-override

NPM version NPM Downloads Build status Test coverage Dependency status License

Install

npm install koa-methodoverride
  • note: koa-methodoverride@2.x is for koa@2.x, use koa-methodoverride@1.x with koa@1.x.
var app = require('koa')();
var methodOverride = require('koa-methodoverride');

app.use(methodOverride());

app.listen(3000);

License

MIT