@marblejs/middleware-body
v4.1.0
Published
Body parser middleware for Marble.js
Downloads
1,007
Readme
@marblejs/middleware-body
A request body parser middleware for Marble.js.
Installation
$ npm i @marblejs/middleware-body
Requires @marblejs/core
and @marblejs/http
to be installed.
Documentation
For the latest updates, documentation, change log, and release information visit docs.marblejs.com and follow @marble_js on Twitter.
Usage
import { bodyParser$ } from '@marblejs/middleware-body';
const middlewares = [
bodyParser$(),
// ...
];
const effects = [
// ...
];
export const app = httpListener({ middlewares, effects });
License: MIT