Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

api-provider-azure-functions

0.7.1 • Public • Published

api-provider-azure-functions

API provider for building api-core based APIs consumable via HTTP using Azure Functions framework.

Installation

npm install api-provider-azure-functions

Usage

import { AzureFunctionsApiProvider } from "api-provider-azure-functions";
 
const API = new Api(...);
const provider = new AzureFunctionsApiProvider(API);
      
module.exports = async function (context, req) {
    context.res = await provider.processRequest(req)
    context.done();
};

Install

npm i api-provider-azure-functions

DownloadsWeekly Downloads

10

Version

0.7.1

License

MIT

Unpacked Size

14.2 kB

Total Files

11

Last publish

Collaborators

  • avatar