[go: up one dir, main page]

vapr-no-input

0.5.1 • Public • Published

vapr-no-input Build Status

Installation

npm install --save vapr
npm install --save vapr-no-input

Usage

With the vapr-no-input plugin, if someone makes a request containing any body content, they'll receive 413 Payload Too Large.

const noInput = require('vapr-no-input');
const app = require('vapr')();
const route = app.get('/foo');

route.use(noInput());
route.use((req) => { ... });

Package Sidebar

Install

npm i vapr-no-input

Weekly Downloads

2

Version

0.5.1

License

MIT

Unpacked Size

2.91 kB

Total Files

6

Last publish

Collaborators

  • joshuawise