erouter-parser
v1.0.2
Published
[![NPM version][npm-image]][npm-url] [![build status][travis-image]][travis-url] [![Test coverage][coveralls-image]][coveralls-url] [![David deps][david-image]][david-url] [![npm download][download-image]][download-url]
Downloads
10
Readme
erouter-parser
[![NPM version][npm-image]][npm-url] [![build status][travis-image]][travis-url] [![Test coverage][coveralls-image]][coveralls-url] [![David deps][david-image]][david-url] [![npm download][download-image]][download-url]
Installation
$ npm install erouter-parser
Options
limit
number or string representing the request size limit, Defaults to '100kb'encoding
The requested encoding, Defaults to 'utf8'
Example
import Parser, { ParserOptions } from 'erouter-parser';
let app = Express();
let options: ParserOptions = {
limit: "500kb",
encoding: "utf8"
};
app.use(Parser(options));