An open API service indexing awesome lists of open source software.

https://github.com/caub/express-mids

Some useful Express.js middlewares
https://github.com/caub/express-mids

Last synced: 3 months ago
JSON representation

Some useful Express.js middlewares

Awesome Lists containing this project

README

          

# Express-mids

A collection of express middlewares

```js
const express = require('express');
const {https, cors} = require('express-mids');

express().disable('x-powered-by') // meh
.use(https())
.use(cors({
ORIGINS: /\/hello.world$|\/localhost:\d+$/
}))
.listen(process.env.PORT || 3000);
```