@akashcapro/codex-shared-utils
v0.8.8
Published
> **Centralized Shared Library for Codex Microservices**
Readme
📦 codex-shared-utils
Centralized Shared Library for Codex Microservices
🚀 Overview
codex-shared-utils is the shared utility library for the Codex microservice ecosystem.
It bundles protocol buffers, logging utilities, response models, type declarations, and status mappers into a single, version-controlled package — published and consumed via NPM.
By centralizing these common modules, we ensure consistency, maintainability, and faster development across all Codex services.
📂 Features
- 📝 Protobuf Support
- All compiled
.protofiles - Raw
.protodefinitions for cross-service gRPC communication
- All compiled
- 🪵 Logger
- Preconfigured and consistent logging utility across services
- 📡 Response Models
- Common HTTP and gRPC response structures
- 🔗 Status Mappers
- HTTP ↔ gRPC status mapping helpers
- 🛠 Custom Declarations
- Express request type augmentation
- Custom token payload interface
- 📦 NPM Integration
- Actively maintained and published to npm for easy integration into all services
📦 Installation
Install from npm:
npm install @akashcapro/codex-shared-utils