Skip to content
CAI
Software that uses CAICheck a score

medz/napi

54.0

Adequate · 17 November 2026

18.9k

lines of production code

Dart

with C++

1

measurement over time

CAI band scale
CAI lens gauges

What this system is

Behavioural changes

16 commits (0 fixes) modifying lib

A change to existing behaviour in lib — 16 commits, 5 files: “feat: map Dart data classes to plain objects (\#351)”; “Rebuild direct-Wasm compiler foundation for Node”; “feat: support live shared byte views (\#178)”; and 13 more (refs \#351, \#178, \#341, \#347, \#175, …).

lib · medium confidence · unverified

167 commits (11 fixes) modifying (repo-wide)

A change to existing behaviour in (repo-wide) — 167 commits (11 fixs), 8 files: “chore(main): release 1.0.0”; “docs: refresh API guides and remove development history (\#216)”; “feat: ship a native Wasm request-summary application (\#46)”; and 164 more (refs \#216, \#46, \#211, \#42, \#237, …).

(repo-wide) · low confidence · unverified

2 commits (0 fixes) modifying lib/sys

A change to existing behaviour in lib/sys — 2 commits, 1 file: “refactor: establish raw Node-API bindings and remove legacy runtime tests”; “feat(compiler)!: compile native addons through a bundled Dart SDK (\#337)” (refs \#337).

lib/sys · medium confidence · unverified

2 commits (0 fixes) modifying src/patches

A change to existing behaviour in src/patches — 2 commits, 2 files: “feat(interop): support synchronous iterables with cleanup”; “feat(types): convert reified generic class arguments”.

src/patches · medium confidence · unverified

27 commits (0 fixes) modifying lib/src

A change to existing behaviour in lib/src — 27 commits, 2 files: “feat: map Dart data classes to plain objects (\#351)”; “feat: support ArrayBuffer and DataView bindings (\#355)”; “Init repo”; and 24 more (refs \#351, \#355, \#366, \#359, \#344, …).

lib/src · medium confidence · unverified

3 commits (0 fixes) modifying experiments

A change to existing behaviour in experiments — 3 commits, 10 files: “refactor: establish raw Node-API bindings and remove legacy runtime tests”; “feat(compiler)!: compile native addons through a bundled Dart SDK (\#337)”; “feat(native): add standalone Dart AOT addon prototype” (refs \#337).

experiments · medium confidence · unverified

3 commits (0 fixes) modifying lib/src/\_internal

A change to existing behaviour in lib/src/\_internal — 3 commits, 3 files: “feat(env): add Dart APIs for native addon registration (\#338)”; “refactor: establish raw Node-API bindings and remove legacy runtime tests”; “feat(bindings): support Dart callbacks and returned functions (\#343)” (refs \#338, \#343).

_lib/src/\internal · medium confidence · unverified

49 commits (4 fixes) modifying lib/src/compiler/assets, src/compiler

A change to existing behaviour in lib/src/compiler/assets, src/compiler — 49 commits (4 fixs), 86 files: “feat(types): resolve growing recursive object projections”; “feat: map Dart data classes to plain objects (\#351)”; “feat: support ArrayBuffer and DataView bindings (\#355)”; and 46 more (refs \#351, \#355, \#380, \#341, \#366, …).

lib/src/compiler/assets, src/compiler · medium confidence · unverified

5 commits (0 fixes) modifying example

A change to existing behaviour in example — 5 commits, 3 files: “Init repo”; “feat: require explicit annotations for class members (\#350)”; “feat(env): add Dart APIs for native addon registration (\#338)”; and 2 more (refs \#350, \#338, \#340).

example · medium confidence · unverified

6 commits (0 fixes) modifying lib/src/compiler

A change to existing behaviour in lib/src/compiler — 6 commits, 2 files: “feat(packaging): build native npm packages from Dart (\#341)”; “feat(env): add Dart APIs for native addon registration (\#338)”; “feat(bindings): generate annotated native classes (\#340)”; and 3 more (refs \#341, \#338, \#340, \#352, \#339, …).

lib/src/compiler · medium confidence · unverified

6 commits (0 fixes) modifying src

A change to existing behaviour in src — 6 commits, 7 files: “feat(env): add Dart APIs for native addon registration (\#338)”; “feat(compiler): support Linux x64 addons”; “feat(compiler): support Windows ARM64 and musl addons”; and 3 more (refs \#338, \#337, \#343).

src · medium confidence · unverified

6 commits (1 fix) modifying tool

A change to existing behaviour in tool — 6 commits (1 fix), 5 files: “fix(compiler): load signed macOS frontend snapshots”; “feat(packaging): build native npm packages from Dart (\#341)”; “feat(compiler): support Linux x64 addons”; and 3 more (refs \#341, \#337).

tool · medium confidence · unverified

8 commits (0 fixes) modifying lib/src/compiler/package

A change to existing behaviour in lib/src/compiler/package — 8 commits, 4 files: “feat: map Dart data classes to plain objects (\#351)”; “feat(packaging): build native npm packages from Dart (\#341)”; “feat: generate native enum bindings (\#347)”; and 5 more (refs \#351, \#341, \#347, \#348, \#352).

lib/src/compiler/package · medium confidence · unverified

9 commits (0 fixes) modifying lib/src/compiler/native

A change to existing behaviour in lib/src/compiler/native — 9 commits, 3 files: “feat(packaging): build native npm packages from Dart (\#341)”; “feat(compiler): support Windows ARM64 and musl addons”; “feat(native): support Intel macOS addons (\#318)”; and 6 more (refs \#341, \#318, \#274, \#324, \#270, …).

lib/src/compiler/native · medium confidence · unverified

Test coverage

2 commits adding/updating tests in test; 49 commits adding/updating tests in test/native.

Dependencies

56 commits updating dependencies (3 manifests)

A dependency / build maintenance change in (dependencies) — 56 commits (5 fixs), 3 files: “BREAKING CHANGE: Update Dart SDK to 3.0”; “chore(main): release 1.0.0”; “feat: ship a native Wasm request-summary application (\#46)”; and 52 more (refs \#46, \#42, \#237, \#50, \#44, …).

(dependencies) · medium confidence · unverified

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

How this codebase got here

Baseline

  • First survey — no prior run to compare against. CAI 54.0.

Lenses

  • Code Health 73.8
  • Architecture 99.2
  • Maturity 56.4
  • Readiness 36.3
  • Security 77.1
  • Performance 100.0

Changes since last survey

  • 300 commits — 271 feature/other, 29 fixes

By area

  • lib/src — 134 commits
  • (root) — 48 commits
  • (repo) — 33 commits
  • test/compiler — 25 commits
  • .github/workflows — 9 commits
  • test/js — 8 commits
  • test/fixtures — 5 commits
  • test/native — 4 commits
  • .github/ISSUE_TEMPLATE — 3 commits
  • benchmark/record-snapshot-baseline.json — 3 commits
  • doc/concrete-generics.md — 3 commits
  • example/checksum — 3 commits
  • .github/scripts — 2 commits
  • bin/build.dart — 2 commits
  • dev/src — 2 commits
  • doc/roadmap.md — 2 commits
  • test/support — 2 commits
  • benchmark/list-scalars.mjs — 1 commit
  • doc/annotations.md — 1 commit
  • doc/opaque.md — 1 commit

Notable commits

  • fix: Generate nullable scalar and fixed bigint bindings
  • fix: Merge pull request #58 from medz/fix/output-directory-preflight
  • fix: Merge pull request #67 from medz/fix/wasm-analysis-environment
  • fix: Merge pull request #74 from medz/fix/scoped-package-name
  • fix: Merge pull request #90 from medz/fix/generated-language-version
  • fix: Merge pull request #92 from medz/fix/typescript-wildcard-bindings
  • fix: chore: label bug and feature issue forms (#332)
  • fix: fix(bindings): reject thenable subclasses in generic futures (#379)
  • fix: fix(compiler): load signed macOS frontend snapshots
  • fix: fix(types): accept callbacks that omit optional arguments
  • fix: fix(types): resolve recursive records with unused type parameters
  • fix: fix(types): restore declaration compatibility and Dartdoc (#214)
  • fix: fix: accept readonly List inputs in TypeScript declarations (#48)
  • fix: fix: align structural output error order across backends (#159)
  • fix: fix: analyze exports in the Dart Wasm environment
  • fix: fix: declare the generated bridge language version
  • fix: fix: diagnose TypeScript operator record aliases (#50)
  • fix: fix: generate unique TypeScript bindings for wildcard parameters
  • fix: fix: honor explicit value constructor selections (#234)
  • fix: fix: identify benchmark inputs by measured artifact hashes
  • …and 280 more

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

Survey your own repository

medz/napi 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 17 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit 6c39635476fd43c9a852e80ca7459ab9427d76cf — the exact code this score is about.
  • Scored under rubric-2026.11.4 — the same rubric and the same method as every other entry in this index.
  • Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.85+preprod-eba6548ac50f.