@turystack/nestjs-publisher
v2.0.0
Published
Message publishing for NestJS with pluggable transport adapters. AWS SNS/SQS built-in.
Downloads
28
Readme
@turystack/nestjs-publisher
Message publishing for NestJS with pluggable transport adapters. AWS SNS/SQS built-in.
Installation
pnpm add @turystack/nestjs-publisherPeer dependencies
The host application provides these:
pnpm add @aws-sdk/client-eventbridge @aws-sdk/client-sqs @nestjs/common @nestjs/core @turystack/nestjs-config @turystack/nestjs-logger reflect-metadata superjson zodOptional — install only the ones whose feature you use:
pnpm add @turystack/nestjs-context @turystack/nestjs-database drizzle-ormEntry points
import { /* … */ } from '@turystack/nestjs-publisher'
import { /* … */ } from '@turystack/nestjs-publisher/drizzle'Documentation
Options, API reference and examples:
https://tury.dev/libs/nestjs-publisher
Development
pnpm install
pnpm typecheck
pnpm check
pnpm test
pnpm services:up
pnpm test:e2e
pnpm services:down
pnpm buildThe end-to-end suite runs against real infrastructure started by docker compose; services:up waits for it to be healthy before the tests run.
