@curveball/azure-function
TypeScript icon, indicating that this package has built-in type declarations

0.2.0 • Public • Published

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/

Package Sidebar

Install

npm i @curveball/azure-function

Weekly Downloads

11

Version

0.2.0

License

MIT

Unpacked Size

11.4 kB

Total Files

21

Last publish

Collaborators

  • evrt
  • mihok
  • juhangsin
  • beckypollard