0.1.7 • Published 3 years ago
@zachabney/azure-aws-serverless-express v0.1.7
azure-aws-serverless-express
Wrapper library to use aws-serverless-express with Azure Functions.
Note: This is a fork of bigx333's library that adds support for setting multiple cookies at a time using the context cookies object.
Installation
npm install azure-aws-serverless-express --save
Usage
const express = require('express');
const azureFunctionHandler = require('@zachabney/azure-aws-serverless-express');
const app = express();
app.get('/api/hello-world/', (req, res) => res.send('Hello World!'));
module.exports = azureFunctionHandler(app);
$ curl http://localhost:7071/api/hello-world/
Hello World!
Todo
Tests