# azure-functions-decorators

> Spring / NestJS like decorators for your Azure functions.

Latest version **0.7.0** (published 2023-07-20) · MIT license · 0 weekly downloads

## Install

```sh
npm install azure-functions-decorators
pnpm add azure-functions-decorators
yarn add azure-functions-decorators
bun add azure-functions-decorators
```

## Health

**Score 30/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.7.0 |
| Published | 2023-07-20 |
| First published | 2022-11-29 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=10 |
| Dependencies | 1 |
| Unpacked size | 154.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 4 |
| Author | Nicolas Bissig |
| Maintainers | nicolasbissig |

## Links

- npm: https://www.npmjs.com/package/azure-functions-decorators
- Repository: https://github.com/NicolasBissig/azure-functions-decorators
- Issues: https://github.com/NicolasBissig/azure-functions-decorators/issues
- npm.io page: https://npm.io/package/azure-functions-decorators

## Dependencies (1)

- [reflect-metadata](https://npm.io/package/reflect-metadata.md) ^0.1.13

## Recent versions

- 0.7.0 (latest) — 2023-07-20
- 0.6.1 — 2023-01-23
- 0.6.0 — 2023-01-17
- 0.5.0 — 2022-12-20
- 0.4.2 — 2022-12-15
- 0.4.1 — 2022-12-15
- 0.4.0 — 2022-12-15
- 0.3.4 — 2022-12-14
- 0.3.3 — 2022-12-14
- 0.2.0 — 2022-12-02
- 0.1.2 — 2022-11-30
- 0.1.2-1 — 2022-11-29
- 0.1.2-0 — 2022-11-29
- 0.1.1 — 2022-11-29
- 0.1.0 — 2022-11-29

## README

# Azure functions decorators

Spring / NestJS like decorators for your Azure functions.

⚠️Under heavy development, unstable! ⚠️

## Install

```shell
npm i azure-functions-decorators
```

add

```json
"experimentalDecorators": true
```

to your `tsconfig.json`

## Example

```ts
class FunctionApp {
    @HttpFunction()
    static async httpTrigger(@QueryParameter('name') name: string): Promise<string> {
        return `Hello, ${name}`;
    }
}
```

---
_Source: https://npm.io/package/azure-functions-decorators · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
