# nestjs-agenda-plus

> A super-powered Nestjs Agenda module

Latest version **2.0.0** (published 2022-10-20) · 0 weekly downloads

## Install

```sh
npm install nestjs-agenda-plus
pnpm add nestjs-agenda-plus
yarn add nestjs-agenda-plus
bun add nestjs-agenda-plus
```

## Health

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

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

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.0 |
| Published | 2022-10-20 |
| First published | 2022-08-02 |
| Weekly downloads | 0 |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 29.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Ly |
| Maintainers | agent-ly |
| Keywords | nest, nestjs, agenda, mongodb, mongo |

## Links

- npm: https://www.npmjs.com/package/nestjs-agenda-plus
- Repository: https://github.com/agent-ly/nestjs-agenda-plus
- Homepage: https://github.com/agent-ly/nestjs-agenda-plus#readme
- Issues: https://github.com/agent-ly/nestjs-agenda-plus/issues
- npm.io page: https://npm.io/package/nestjs-agenda-plus

## Alternatives

- [angular-pipes](https://npm.io/package/angular-pipes.md) — 5.6K weekly downloads
- [@ng-web-apis/midi](https://npm.io/package/@ng-web-apis/midi.md) — 2.6K weekly downloads
- [happn-3](https://npm.io/package/happn-3.md) — 1.6K weekly downloads
- [@opensip-cli/lang-go](https://npm.io/package/@opensip-cli/lang-go.md) — 1.2K weekly downloads
- [@temporal-architect/claude-plugin](https://npm.io/package/@temporal-architect/claude-plugin.md) — 335 weekly downloads

## Recent versions

- 2.0.0 (latest) — 2022-10-20
- 1.0.4 — 2022-08-03
- 1.0.3 — 2022-08-03
- 1.0.2 — 2022-08-03
- 1.0.1 — 2022-08-03
- 1.0.0 — 2022-08-02

## README

# nestjs-agenda-plus

## Installation

```sh
npm i @hokify/agenda nestjs-agenda-plus
```

## Usage

```ts
// app.module.ts
import { Module } from "@nestjs/common";
import { AgendaModule } from "nestjs-agenda-plus";

@Module({
  imports: [
    AgendaModule.forRoot({
      db: {
        address: "mongodb://localhost/test_agenda",
      },
    }),
  ],
})
export class AppModule {}
```

```ts
import { Injectable } from "@nestjs/common";
import { Agenda } from "@hokify/agenda"
import { AgendaModule, DefineJob, ScheduleJob } from "nestjs-agenda-plus";

@Injectable()
class AppService {
    constructor(
        // Access the agenda client directly
        private readonly agenda: Agenda;
    ) {}

  @DefineJob("test")
  async test() {
    console.log("Hello world!");
  }

  @DefineJob("test-schedule")
  @ScheduleJob("in 10 seconds")
  async testSchedule() {
    console.log("Hello world from schedule!");
  }

  @DefineJob("test-every")
  @ScheduleJob("every 10 seconds")
  async testEvery() {
    console.log("Hello world from every!");
  }
}
```

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