📅 You're Invited: Meet the Socket team at RSAC (April 28 – May 1).RSVP
Socket
Sign inDemoInstall
Socket

@curveball/azure-function

Package Overview
Dependencies
Maintainers
4
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@curveball/azure-function

Curveball handler for Azure functions

0.2.0
latest
Source
npm
Version published
Weekly downloads
1
-75%
Maintainers
4
Weekly downloads
 
Created
Source

Curveball Azure Functions handler

Azure Function bindings for Curveball. Go 'serverless' with [Curveball][1].

Installation

npm install @curveball/azure-function @curveball/kernel

Getting started

Get started with your Azure function as you normally would, the easiest is to start with the http-trigger template.

After this, your index.ts should look a little like this:

import { Application } from '@curveball/kernel';
import { handler } from '@curveball/azure-function'

const app = new Application();
app.use( ctx => {
  ctx.response.body = 'hello world';
});

export default handler(app);

API
---

...

[1]: https://github.com/curveball/

Keywords

http

FAQs

Package last updated on 14 Feb 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts