@celeri/express-middleware

Converts express style middlewares into celeri middlewares

Usage no npm install needed!

<script type="module">
  import celeriExpressMiddleware from 'https://cdn.skypack.dev/@celeri/express-middleware';
</script>

README

Install

$ npm install --save @celeri/express-middleware

Import

ES6 Modules

import { convertMiddleware } from '@celeri/express-middleware';

CommonJS Modules

const { convertMiddleware } = require('@celeri/express-middleware');

Usage

const celeriMiddleware = convertMiddleware(expressMiddleware);