Skip to content

azure-function 0.2.0

Install from the command line:
Learn more about npm packages
$ npm install @curveball/azure-function@0.2.0
Install via package.json:
"@curveball/azure-function": "0.2.0"

About this version

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/

Details


Assets

  • azure-function-0.2.0.tgz

Download activity

  • Total downloads 0
  • Last 30 days 0
  • Last week 0
  • Today 0

Recent versions

View all