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
Azure Function bindings for Curveball. Go 'serverless' with [Curveball][1].
npm install @curveball/azure-function @curveball/kernel
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
- azure-function
-
curveball
- about 2 years ago
- MIT
- 16 dependencies
Assets
- azure-function-0.2.0.tgz
Download activity
- Total downloads 0
- Last 30 days 0
- Last week 0
- Today 0