@celeri/body-parser

A request body parsing middleware for celeri

Usage no npm install needed!

<script type="module">
  import celeriBodyParser from 'https://cdn.skypack.dev/@celeri/body-parser';
</script>

README

Install

$ npm install --save @celeri/body-parser

Import

ES6 Modules

import { bodyParser } from '@celeri/body-parser';

CommonJS Modules

const { bodyParser } = require('@celeri/body-parser');

Usage

const parseBody = bodyParser();

serverOrEndpoint.use(parseBody);