Browse Kotlin Multiplatform libraries

index data from klibs.io
Sort
Tagmonads
kotlin-result2.3.1
1.3k10 used by

Zero-overhead Result monad for modelling success or failure in operations, offering features like chaining, transformation, and binding support, inspired by Elm, Haskell, and Rust.

JSJVMNativeWasm·michaelbull·ISC License
ApiResult2.2.0
67

Lightweight, feature-rich declarative error handling framework for functional programming, offering 90+ operators. Ensures compile-time error handling and enhances code readability and extensibility through Railway Programming principles.

AndroidJSJVMNativeWasm·respawn-llc·Apache License 2.0
resultat1.0.0
53

Fork of Result library adds a loading state, offering seamless integration and conversion utility functions. Mimics Result's API while enabling loading state handling for enhanced functionality.

JSJVMNative·nicolashaan·Apache License 2.0
KmmResult1.9.3
194 used by

Enhances interoperability with platform-specific APIs by providing a result class wrapper. Offers convenient methods for handling success and failure cases, including transformation functions and non-fatal exception handling.

AndroidJSJVMNativeWasm·a-sit-plus·Apache License 2.0
cloudflare-kmp0.1.0-alpha01
15

Type-safe, coroutine-first SDK and Worker gateway enabling publishable-key access to D1, KV, R2, and realtime APIs; includes Result monad, D1 table API, KV JSON helpers, and Worker template.

AndroidJVMNativeWasm·AndroidPoet·MIT License
either2.0.2
10

Implements `Either` and `Option` types for managing dual-value and optional state scenarios. Enhances serialization, deserialization, and transformation capabilities, providing flexible error handling and state management.

JSJVMNativeWasm·L-Briand·MIT License
krefty0.5.0
9

Empowers creation of domain-specific types, addressing Primitive Obsession through a framework inspired by Refinement Type Theory. Useful for Domain-Driven Design, offers flexible type refinement.

JSJVM·ustitc·MIT License
pocketbase-kmp0.3.2
9

For PocketBase: modular clients, coroutine-first APIs, result-based error handling, typed decoding helpers, cancellation-safe operations, auth workflows, realtime subscriptions, plus files and admin services.

AndroidJVMNativeWasm·AndroidPoet·MIT License
kotlin-util2.1.0
7

Enhances projects with utility classes for collection handling and functional programming, featuring types like `Option`, `Either`, and `Try`, and iterators like `EmptyIterator` and `SingletonIterator`.

JSJVMNative·sczerwinski·Apache License 2.0
kotlin-itsok1.1.5
4

Enhances error handling with a custom `Result` type, allowing flexible error types and eliminating the need for wrapping results in Ok/Error objects, streamlining code efficiency.

JSJVMNativeWasm·PaoloConte·MIT License
component-value-clazz0.1.0
3

Offers a library that enables functional inheritance-based alternatives to value classes, addressing compilation issues across languages and retaining type integrity for public APIs.

JSJVMNative·05nelsonm·Apache License 2.0
resukt1.0.0
2

Represents a result type encompassing success or failure, offering customizable failure types, and features like `andThen`, `whenFailure`, and a `fold` method for pattern-matching-like functionality.

JSJVMNative·Jason5Lee·Apache License 2.0
kotlin-retry-arrow-either0.1.0
2

Extends retry functionality to handle operations returning Arrow's Either type, facilitating error handling without exceptions. Enhances retry logic with customizable policies.

AndroidJSJVMNative·jsoizo·MIT License
Result0.4.0
12 used by

Facilitates error handling and success management with a functional approach, improving code readability and maintainability through a clear representation of operation outcomes.

JVMNative·ioki-mobility·MIT License
kotlin-monads-multiplatform-library0.0.19
1

Functional monads for safer null and error handling: Maybe, Either, Try; error-accumulating types, evaluation combinators for combining results, and tuple utilities up to quintuple.

AndroidJVMNativeWasm·BenRomdhaneOmar·GNU Affero General Public License v3.0
TryLibrary1.0.8
0

Facilitates safer error handling by representing computations that can fail, offering methods to map, recover, and transform results while avoiding exceptions.

AndroidNative·VladimirSergeevichFedorov
okres5.3
0

Offers an oversimplified result monad library, facilitating error handling and result processing through chaining functions like `andThen`, `onOk`, and `onErr` for streamlined message processing.

JSJVMNative·sergejsha
outcome0.3.2
0

Alternative to the Result type, enabling typed error handling. Supports operations like `getOrElse`, `map`, and `flatMap` for enhanced error management and control flow.

JSJVMNativeWasm·thebrownfoxx·Apache License 2.0
kt.types0.0.1
0

Rust-style Result and Option types offering some/none and ok/err constructors, chainable combinators, pattern-friendly APIs and ergonomic error/optional-value handling for safer, expressive code.

AndroidJVMNative·initdc·Mozilla Public License 2.0
kotlin-data-need2.0.0
02 used by

Lazy, composable, memoized computations that evaluate on demand and cache results; supports map/flatMap/zip, recursive memoization builders, Delay abstraction, and stack-safe composition via internal trampoline.

AndroidJVMNative·wabbit-corp·GNU Affero General Public License v3.0
Page 1