Skip to content

protontype/proton-body-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Express body-parser middleware for Protontype

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published