winecraft-os-express-middleware

0.2.2 • Public • Published

Winecraft Express Middleware

Table of Contents

Installation

General Setup

$ npm install

Usage

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 adam.synnott@winecraft.com

Contributing

Please contribute using Github Flow.

Package Sidebar

Install

npm i winecraft-os-express-middleware

Weekly Downloads

0

Version

0.2.2

License

MIT

Unpacked Size

9.04 kB

Total Files

6

Last publish

Collaborators

  • winecraft