winecraft-os-express-middleware
v0.2.2
Published
A collection of express middlewares for serverless apps on AWS
Maintainers
Readme
Winecraft Express Middleware
Table of Contents
Installation
General Setup
$ npm installUsage
This package is a collection of middlwares for Express serverless apps on AWS.
const express = require('express');
const AppMiddleware = require('winecraft-os-express-middleware');
/**
* Instantiate the App
*/
const app = express();
/**
* Adds CORS headers to all responses
*/
app.use(AppMiddleware.corsHeaders);
Versioning
This project uses semantic versioning - https://semver.org/
To create a new version run the following command
$ npm version {major|minor|patch}Support
Adam Synnott [email protected]
Contributing
Please contribute using Github Flow.
