Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

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

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages