0.1.5 • Published 6 years ago

azure-aws-serverless-express v0.1.5

Weekly downloads
3,918
License
MIT
Repository
github
Last release
6 years ago

azure-aws-serverless-express

Wrapper library to use aws-serverless-express with Azure Functions

Installation

npm install azure-aws-serverless-express --save

Usage

const express = require('express');
const azureFunctionHandler = require('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