Each library is designed to work seamlessly with Midaz services, offering reusable components that simplify common tasks like error handling, logging, context management, validation, and more. Use them to:
  • Reuse proven business logic across projects.
  • Keep your services aligned with Lerian’s engineering standards.
  • Accelerate development while reducing room for mistakes.

Available Libraries

  • lib-commons: A Go library with shared components for building resilient and consistent Midaz microservices. Includes modules for database access, messaging, observability, and transaction processing.
  • lib-commons-js: A TypeScript-first library that brings those same patterns to JavaScript environments. Ideal for both Node.js services and frontend projects that integrate with Midaz.
Explore each library to see how it fits into your service architecture.