api-provider-azure-functions
TypeScript icon, indicating that this package has built-in type declarations

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();
};

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i api-provider-azure-functions

    Weekly Downloads

    0

    Version

    0.7.1

    License

    MIT

    Unpacked Size

    14.2 kB

    Total Files

    11

    Last publish

    Collaborators

    • ajuhos