Skip to content
CAI
Software that uses CAICheck a score

thoth-org/Thoth.Fetch

54.9

Adequate · 3 October 2026

436

lines of production code

F#

primary language

2

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

Thoth.Fetch is an F\# library designed to simplify HTTP client operations within Fable-based web applications by combining request sending with JSON decoding via Thoth.Json. It provides safe and standard APIs for making web requests, handling various HTTP methods, and managing response errors through Result types. The system relies on Fable.Fetch for underlying browser interactions and includes comprehensive integration testing to verify network behavior.

Features

Initial release of Thoth.Fetch library

This change introduces the Thoth.Fetch library, providing F\# functions to send HTTP requests and decode JSON responses using Thoth.Json. The library exposes \Fetch.tryFetchAs\ for safe request handling returning a Result type with detailed FetchError information, and \Fetch.fetchAs\ for simpler usage that throws on failure. It supports custom HTTP methods, request bodies, headers, and JSON case strategies, and depends on Fable.Fetch, Fable.Promise, and Thoth.Json.

src · high confidence

Behavioural changes

Library renamed to Thoth.Fetch with documentation site and build overhaul

The project has been renamed from Thoth.Json to Thoth.Fetch, shifting its focus to providing an API for Fable.Fetch and Thoth.Json. This change includes the addition of a new documentation site powered by Nacara (configured in nacara.config.json) and a dedicated BACKERS.md file for sponsors. The build system has been significantly restructured: the legacy build.proj file is removed in favor of .NET global tools (Fake and Paket), the .NET SDK version is updated from 2.2 to 8.0, and CI pipelines now trigger on the develop branch and install .NET Core 3.1.101.

(repo-wide) · high confidence

Test coverage

Added integration tests for Thoth.Fetch with a mock JSON server

The test suite now includes a full integration setup using a local JSON server to verify network interactions. New test files (fake-delete.js, fake-error-report.js, fake-unit.js) provide mock endpoints for DELETE, error, and unit scenarios. The main test file (Main.fs) has been expanded to include tests for Fetch.fetchAs with both manual decoders and extra coders, covering success cases and error handling (e.g., non-2xx responses). Test infrastructure dependencies (Thoth.Json, Fable.Promise, Fable.Node) were added to support this new testing layer.

tests · high confidence

Dependencies

Major dependency upgrades and new library integration

The project has performed a comprehensive update of its build and runtime dependencies, significantly upgrading Babel (core to 7.29.6, traverse to 7.23.2) and adding new tooling such as Nacara for documentation, Bulma for styling, and gh-pages for deployment. On the .NET side, the Fable toolchain has been updated (Fable-compiler to 2.3.23, Fable-splitter to 2.1.11), and the Thoth.Fetch library has been introduced to handle web requests using Fable.Fetch and Thoth.Json, with the library itself bumped to version 3.0.1.

(dependencies) · high confidence

Written by watchdog.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

How this codebase got here

Score

  • CAI 55 → 55 (+0.0)
  • Rubric changed (rubric-2026.09.15 → rubric-2026.10.1) — scores are not directly comparable.

Lenses

  • Code Health 100 → 100 (+0.0)
  • Architecture 69 → 69 (+0.0)
  • Maturity 44 → 44 (+0.0)
  • Readiness 52 → 52 (+0.0)
  • Security 80 → 80 (+0.0)

Resolved (5)

  • Critical CVE: [GHSA redacted] (yarn.lock)
  • Documentation: no usage examples (README.md)
  • High CVE: [GHSA redacted] (yarn.lock)
  • High CVE: [GHSA redacted] (yarn.lock)
  • High CVE: [GHSA redacted] (yarn.lock)

New (5)

  • Critical CVE: [GHSA redacted] (yarn.lock)
  • Documentation: no project overview (README.md)
  • High CVE: [GHSA redacted] (yarn.lock)
  • High CVE: [GHSA redacted] (yarn.lock)
  • High CVE: [GHSA redacted] (yarn.lock)

Changes since last survey

  • 4 commits — 4 feature/other, 0 fixes

By area

  • (repo) — 2 commits
  • (root) — 2 commits

Notable commits

  • change: Bump brace-expansion from 1.1.16 to 1.1.21
  • change: Bump morgan from 1.12.0 to 1.12.1
  • change: Merge pull request #67 from thoth-org/dependabot/npm_and_yarn/morgan-1.12.1
  • change: Merge pull request #68 from thoth-org/dependabot/npm_and_yarn/brace-expansion-1.1.21

Written by watchdog.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

Survey your own repository

thoth-org/Thoth.Fetch was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.

About this page

  • The score is its most recent published measurement, taken on 3 October 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit 2b3e79730bce476a0922145b18e7f3a9c7f5604b — the exact code this score is about.
  • Scored under rubric-2026.10.1 — the same rubric and the same method as every other entry in this index.
  • Measured by watchdog.canine.dev using codehealth-analyzer preprod-4f4226d619ea.