Skip to main content

9 docs tagged with "Utilities"

View all tags

Codec

The @daiso-tech/core/codec component provides seamless way to encode/decode data.

Collection

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

FileSize

The @daiso-tech/core/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.

Middleware

The @daiso-tech/core/middleware module provides a flexible middleware system for intercepting and composing function calls. It enables you to wrap functions with pre-processing and post-processing logic, similar to middleware patterns found in web frameworks like Express.js.

Namespace

The @daiso-tech/core/namespace component provides seamless way to group data by prefixing and suffixing keys.

Resilience

The @daiso-tech/core/resilience component provides predefined fault tolerant middlewares.

Serde

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

TimeSpan

The @daiso-tech/core/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.