azure-functions-decorators
v0.7.0
Published
Spring / NestJS like decorators for your Azure functions.
Downloads
19
Readme
Azure functions decorators
Spring / NestJS like decorators for your Azure functions.
⚠️Under heavy development, unstable! ⚠️
Install
npm i azure-functions-decorators
add
"experimentalDecorators": true
to your tsconfig.json
Example
class FunctionApp {
@HttpFunction()
static async httpTrigger(@QueryParameter('name') name: string): Promise<string> {
return `Hello, ${name}`;
}
}