@edirect · 23 packages

Name Description License Versions
@edirect/audit-core Core `AuditService` orchestrator for the eDirect Audit system. This package provides the `AuditService` class that coordinates between exporters and instrumentation middleware to produce and dispatch audit events. 10 greenflagged / 50 total
@edirect/audit-domain Domain models, interfaces, and abstractions for the eDirect Audit system. This is the foundational package that all other `@edirect/audit-*` packages depend on. It defines the canonical `AuditRequest` shape, actor/action/result enumerations, and the `Expo 14 greenflagged / 50 total
@edirect/audit-exporter-http-axios HTTP exporter for the eDirect Audit system using Axios. Implements the `Exporter` interface from `@edirect/audit-domain` and sends audit events to the audit service via HTTP POST. 14 greenflagged / 50 total
@edirect/audit-exporter-http-fetch HTTP exporter for the eDirect Audit system using the native Fetch API. Implements the `Exporter` interface from `@edirect/audit-domain` and sends audit events to the audit service via HTTP POST — without requiring Axios as a dependency. 14 greenflagged / 50 total
@edirect/audit-instrumentation-express Express.js auto-instrumentation for the eDirect Audit system. Automatically extracts request context (client IP, origin URL, session ID) from incoming Express requests and injects it into audit events — so you don't have to pass this data manually in ever 13 greenflagged / 50 total
@edirect/audit-nestjs NestJS integration for the eDirect Audit system. Provides a configurable `AuditModule` and a request-scoped `AuditService` that automatically extracts trace/session context from Express requests and dispatches audit events via a configurable exporter. 13 greenflagged / 44 total
@edirect/auth Authentication and authorization module for eDirect NestJS applications. Supports two auth providers — **Keycloak** (OIDC/JWT) and a **custom Auth Service** — with guards, middleware, decorators, and multi-tenant realm support. 33 greenflagged / 136 total
@edirect/config Global NestJS configuration module for eDirect applications. Provides environment variable loading via `dotenv` and a `ConfigService` for accessing configuration values across the application. 24 greenflagged / 68 total
@edirect/dynamics Microsoft Dynamics 365 integration module for eDirect NestJS applications. Handles OAuth2 token acquisition (password grant and client credentials), automatic token refresh, and provides `get`, `post`, and `patch` methods for Dynamics API calls. 20 greenflagged / 46 total
@edirect/encrypt-modules Encrypt Modules 13 greenflagged / 37 total
@edirect/lock Distributed lock module for eDirect NestJS applications. Provides two Redis-backed locking primitives: a **Timed Lock** for exclusive one-at-a-time task execution across pods, and a **Distributed Lock** (owner lock) for leader-election patterns in cluster 25 greenflagged / 45 total
@edirect/logger Structured logging module for eDirect NestJS applications. Built on top of [Pino](https://github.com/pinojs/pino), providing high-performance JSON logging with AsyncLocalStorage support for automatic context propagation, file output, and seamless integrat 28 greenflagged / 82 total
@edirect/mongo > NestJS global module for MongoDB connections with Mongoose, including AWS IAM (IRSA) authentication support. 33 greenflagged / 79 total
@edirect/nest-app Opinionated NestJS application bootstrapper for eDirect services. Provides a single `bootstrap()` function that wires up NestJS with eDirect conventions: environment loading, Swagger documentation, global pipes/filters, session, CORS, XML body parsing, an 33 greenflagged / 193 total
@edirect/oidc-client OpenID Connect client for eDirect applications. Supports three OAuth2 grant types — `password`, `client_credentials`, and `sso` — with a uniform API for acquiring and refreshing tokens. 20 greenflagged / 49 total
@edirect/rate-limit-module A flexible **rate-limiting system** where access to operations can be restricted based on dynamic **rule expressions** such as `count_quote( ) > 1`. If the condition evaluates to `true`, access is **blocked**. 10 greenflagged / 47 total
@edirect/redis Redis client module for eDirect NestJS applications. Wraps the `redis` Node.js client and exposes a `RedisService` with high-level methods for key-value, hash, and set operations — all with automatic JSON serialization and centralized error logging. 53 greenflagged / 77 total
@edirect/request HTTP request utility for eDirect applications. Provides a thin Axios wrapper (`sendRequest`) that automatically resolves service base URLs from the common `config` folder structure, propagates correlation headers (`SessionId`, `QuoteId`), and optionally h 21 greenflagged / 61 total
@edirect/sftp-client SFTP client module for eDirect NestJS applications. Provides a `SftpClientService` with methods for uploading, downloading, listing, renaming, and deleting files on SFTP servers — backed by `ssh2-sftp-client`. 12 greenflagged / 44 total
@edirect/slack Slack integration module for eDirect NestJS applications. Provides a configurable `SlackService` for sending structured messages to Slack channels, with support for message levels (INFO, WARN, ERROR), custom payloads, attributes, and message templates. 15 greenflagged / 45 total
@edirect/storage-gateway Storage Gateway client library for eDirect applications. Provides a simple interface to interact with the Storage Gateway API for managing storage configurations and file operations across multiple cloud providers (S3, Azure Blob, GCS, local). 18 greenflagged / 28 total
@edirect/template `@edirect/template` is a flexible library for transforming payloads based on declarative templates. It supports mapping fields, applying custom transformers, setting default values, handling nested objects, and working with arrays. 23 greenflagged / 63 total
@edirect/tokenization Javascript library for tokenization service MIT 20 greenflagged / 42 total
Showing 23 packages