@youssoufcherif/signals-node
v0.0.1
Published
Lightweight console-based Signals provider - no OpenTelemetry dependency.
Maintainers
Readme
@youssoufcherif/signals-node
⚠️ Pre-alpha (
0.0.x) — built in the open, APIs change without notice. Not yet supported for use outside the author's projects. See the repo README.
Lightweight console provider for Signals: spans, logs, and metrics as structured JSON lines on stdout. No OpenTelemetry dependency — ideal for local development or simple services that ship logs from stdout.
pnpm add @youssoufcherif/signals-nodeimport { createNodeSignals } from '@youssoufcherif/signals-node';
const signals = createNodeSignals({ pretty: true }); // options optional
await signals.trace.run('checkout.process', async (ctx) => {
ctx.log.info('processing checkout'); // JSON line, correlated to the span
});
await signals.shutdown();MIT © Youssouf Cherif Hamed
