IF Commons GitHub

Headless

Quality: 163 tests: 163 passed, 0 failed, 0 skipped, 120 of 120 requirements proved, 0 open issues, 0 open tickets. The tests and issues of the library

Headless, the contract of a program that has no window: its governance (what an action is and what it may do), its logical layer (what a command returns and how that is told) and, by their own entries, the surfaces that draw it (@intellectual-frontiers/headless/cli) and the adapter that reports it in OpenTelemetry (@intellectual-frontiers/headless/otel). This entry names the two pure layers as namespaces; it names no host global, so it runs wherever ECMAScript does.

Entry points

Modules

Examples

import { governance, logical } from "@intellectual-frontiers/headless";
governance.exitCodeOf("usage"); // 2
logical.verbosityOf({ json: false, quiet: false, verbose: false }); // ok("calm")

Limits

What the modules of this area do not do, or do only in part, as each module's @limits says.

Titles, headings, exports, tables, columns and requirements. Esc closes.