Skip to main content
the commons

cognitive-complexity-ts (pkg:npm/cognitive-complexity-ts@0.8.2)

🟢 Green Signal · Good Epistemic StandingCD₅ Disruption +0.0000 · FWCI 3859.05 · Root Independence 1.00 · Full Standing Citator →

npm Open Ecosystem

2026 · Planetary Well · npm

This program analyses TypeScript and JavaScript code according to the [Cognitive Complexity metric](https://www.sonarsource.com/docs/CognitiveComplexity.pdf). It produces a JSON summary and a GUI for exploring the complexity of your codebase. [Stratum: Libraries & Package Registries | Avalanche R7: Competence (compiled_rungs_6_9) | DES-10 C10: Deterministic Kernel / Library Primitive | Target: Tier 2 (Verified Rule/Checker) | License: MIT | Downward Compilation: Stage 4 Frontier: stop prompting LLMs to re-derive `cognitive-complexity-ts` tasks -> Stage 3 Hybrid/Solver: invoke deterministic `cognitive-complexity-ts` (`pkg:npm/cognitive-complexity-ts@0.8.2`, C10 · Tier 2 (Verified Rule/Checker), `C(z)=1 via deterministic library/compiler exit status & unit invariants`) -> Stage 2 Indexed Store: persist content-addressed `BLAKE3` outputs in zero-copy mmap / columnar store (amortizes after ΔT* = 1 call(s), 8148.1× est_j CpJ at 10k calls) -> Stage 1 LUT6 / De Bruijn: lower hot recurrent predicates into De Bruijn minimal perfect hash or `LUT6` bit-sliced lookup.]
linked multimodal & document assets
cite & interoperate (Zotero / Alma / WorldCat ready)

npm Open Ecosystem. (2026). cognitive-complexity-ts (pkg:npm/cognitive-complexity-ts@0.8.2). Planetary Well · npm.

@article{planetarynpmcognitivecom,
  title = {cognitive-complexity-ts (pkg:npm/cognitive-complexity-ts@0.8.2)},
  author = {npm Open Ecosystem},
  year = {2026},
  journal = {Planetary Well · npm}
}

JSON · BibTeX · BibLaTeX · RIS (EndNote) · CSL-JSON · MARC21 XML · BIBFRAME 2.0 · citations JSON · CITO argument graph · IIIF v3 manifest · embed card

🌐 EN
🌍 Global