UNPKG
hapi.app.server
Version:
latest (0.1.6)
0.1.6
0.1.5
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0
0.0.14
0.0.13
0.0.12
0.0.11
0.0.10
0.0.9
0.0.8
0.0.7
0.0.6
0.0.5
0.0.4
0.0.1
A small server to serve up HAPI applications
hapi.app.server
/
src
/
modules
/
bodyParserMW.coffee
9 lines
(6 loc)
•
195 B
text/coffeescript
View Raw
1
2
3
4
5
6
7
8
9
express =
require
"express"
class
BodyParserMW
configure
: (
{app: app, callback: callback}) -> app.use(express.bodyParser()) callback() module.exports = BodyParserMW