nu-emit
Small libraries so apps can emit structured rows for Nushell without hand-writing JSON strings.
Why
Nushell is happy if you print JSONL and pipe through from json.
That still means every C programmer reinvents fprintf(stdout, "{\"pid\": %d…}") and gets the commas wrong at 2am.
nu-emit is the boring fix: build a row in memory, call an API, flush.
First target is C.
Other languages can follow the same shape.
This is the "DevX approved" path from the Nu-vs-pwsh discussion: a real emit API, not folklore.
In this component
-
Vision — emit vs plugin protocol
-
C Quick Start — row/field API sketch
-
Emit Tiers — JSONL now, plugin IPC later
-
Status — scaffold progress
Related
-
nu-require — require / relaunch under Nu
-
shell-architecture — thesis