lab / implemented

Resulta

How can a total API and explicit errors stay ergonomic across ESM and CJS?

Source reference: mainLicense: See repository

01 / Context

A small library for investigating typed results, module interoperability, and documented guarantees.

02 / Architecture map

Architecture map

  1. 01
    Input

    A total operation.

  2. 02
    Result

    Explicit success or error.

  3. 03
    ESM / CJS

    Outputs with the same guarantee.

03 / Decisions

Decisions

Total API

Every operation represents success and error in its return type.

Dual distribution

Both module formats share documented guarantees.

Evidence

  • Public packageAPI, ESM/CJS builds, and versioned documentation.

Known limits

  • The library exposes errors; it does not choose application recovery policies.
  • Adoption and production use are not claimed.
Back to the atlas ↑