Skip to main content

12 docs tagged with "Utilities"

View all tags

Codec

The eridu-tech/codec component provides seamless way to encode/decode data.

Collection

The eridu-tech/collection component provides a fluent, convenient wrapper for working with a Array, Iterable and AsyncIterable.

Config accessor

The eridu-tech/config-accessor component provides standardized type-safe access to domain configuration variables. It supports optional schema validation useful accessing dynamic configurations (e.g tenneat configurations).

Env accessor

The eridu-tech/env-accessor component provides easy type-safe access to enviroment variables.

ErrorPolicy type

The ErrorPolicy type determines which errors should be handled for example in resilience middlewares like retry or fallback.

ExecutionContext

The eridu-tech/execution-context module provides a type-safe, composable, and environment-agnostic way to store and propagate contextual data (such as request IDs, user info, or tracing metadata) across async boundaries and function calls. IExecutionContext uses symbols internally for reliable context isolation.

FileSize

The eridu-tech/file-size component provides an easy way for defining, manipulating, and comparing file size. Furthermore, it is designed for easy integration with external file-size libraries.

Invocable

An Invocable represents a callable entity, which can be either:

Resilience

The eridu-tech/resilience component provides predefined fault tolerant middlewares.

Serde

The eridu-tech/serde component provides seamless way to serialize/deserialize data and adding custom serialization/deserialization logic for custom data types.

TimeSpan

The eridu-tech/time-span component provides an easy way for defining, manipulating, and comparing durations. Furthermore, it is designed for easy integration with external time libraries like Luxon and Dayjs.