0
46%
MIT
BuckleScript bindings for body-parser

bs-body-parser

What is it?

Bucklescript bindings for body-parser, an Express request parsing middleware.

What state is it in?

Very incomplete.

How do I install it?

npm i @ryb73/bs-body-parser

How do I use it?

  • RE
  • ML
let app = Express.App.make();
Express.App.use(app, BodyParser.json());
/* the parsed body can then be retrieved using Express.Request.asJsonObject */
let app = Express.App.make ()
let _ = Express.App.use app (BodyParser.json ())