Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

koa-methodoverride

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

koa-methodoverride - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

2

package.json
{
"name": "koa-methodoverride",
"version": "0.3.0",
"version": "0.3.1",
"description": "HTTP method override for koa",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -27,3 +27,4 @@ # Method Override [![Build Status](https://travis-ci.org/fundon/koa-method-override.svg)](https://travis-ci.org/fundon/koa-method-override)

app.use(methodOverride());
var key = '_method'; // default
app.use(methodOverride(key));

@@ -30,0 +31,0 @@ app.listen(3000);

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc