1.1.3 • Published 1 year ago

marble-moonlight-middleware v1.1.3

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Marble Moonlight Middleware

Marble Moonlight Middleware is an elegant solution for enriching web application requests with additional processing layers, making your applications secure, insightful, and cross-origin resource sharing (CORS) compliant out of the box.

Features

  • Basic security with Helmet
  • Logging with Morgan
  • CORS enabled
  • JSON body parsing
  • Custom middleware functionality for additional request processing

Getting Started

To use Marble Moonlight Middleware, first install the package using npm:

npm install marble-moonlight-middleware

Then, integrate it into your Express application:

const express = require('express');
const marbleMoonlightMiddleware = require('marble-moonlight-middleware');

const app = express();

app.use(marbleMoonlightMiddleware);

app.get('/', (req, res) => {
res.send('Hello, world!');
});

app.listen(3000, () => {
console.log('Server is running on port 3000');
});

License

This project is licensed under the MIT License.

Contribution

Feel free to contribute to the project by submitting a pull request or opening an issue.

1.1.3

1 year ago

1.1.1

1 year ago

1.1.0

1 year ago