New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@kozen/trigger

Package Overview
Dependencies
Maintainers
5
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kozen/trigger

Module for the Kozen framework that provides support for self-hosted MongoDB triggers

latest
Source
npmnpm
Version
1.0.7
Version published
Maintainers
5
Created
Source

🏠 Kozen Triggers

npm version npm downloads npm total downloads License: ISC Node.js Version Dependencies TypeScript MongoDB GitHub issues GitHub stars

Kozen modules function as independent tools. The Triggers module simplifies the implementation of self-hosted triggers for MongoDB Atlas, Enterprise Advanced, or Community Edition. This tool streamlines trigger management across diverse MongoDB deployments.

📚 Self‑Hosted Triggers

Kozen executes MongoDB Change Stream triggers directly on your infrastructure. Designed as a self-hosted alternative to MongoDB Atlas Triggers, Kozen allows you to define a JavaScript "delegate" file. This file exports operation-specific functions, which Kozen utilizes to stream change events directly into your code.

🧪 Comparison and Usage

While MongoDB Atlas provides a fully managed Triggers service, Kozen delivers similar capabilities for local, on-premises, or cloud environments. It centralizes logic in a single, maintainable JavaScript file.

🚀 Quick Start

  • Install Kozen.
  • Write the delegate with insert/update/delete/replace and optional on/default.
  • Fill .env with KOZEN_TRIGGER_* settings.
  • Start the service (see step 2 below) and verify logs.

For more details, refer to the documentation here: documentation.

References

← Previous: Home | Next: Get-Started

Keywords

kozen

FAQs

Package last updated on 19 Feb 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts