proton-body-parser
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

npm version

Express body-parser middleware for Protontype

This module wraps body-parser Nodejs module for use into a Protontype project

Middlewares

How to Use

let app = new ProtonApplication().addMiddlewareAs(JsonBodyParserMiddleware)
app.start();

With options:

let middlewareWithOptions = new JsonBodyParserMiddleware({ type: 'application/*+json' });
let app = new ProtonApplication().addMiddleware(middleware)
app.start();

For all options see:

For how to use middlewares into Protontype see documentation

Package Sidebar

Install

npm i proton-body-parser

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

17.3 kB

Total Files

23

Last publish

Collaborators

  • linck