@qpqjs/actionprocessor-node
v0.8.0
Published
Action processors that run quidproquo stories in a Node process.
Readme
@qpqjs/actionprocessor-node
The Node.js runtime for quidproquo.
A qpq story yields actions, and a processor is the function that actually carries one out. This package supplies the processors that need Node: streams, dynamic function loading, and inline function execution. It builds on @qpqjs/actionprocessor-js, which covers everything that works on any JavaScript engine.
You do not usually install this yourself. It arrives as a dependency of @qpqjs/dev-server, @qpqjs/actionprocessor-aws, and the CLI.
What is in here
- Node processors for stream, dynamic function, and inline function actions
traceStoryExecution, which replays a story under the Node inspector to produce a statement-by-statement execution trace with local values. This is what the admin console renders as an annotated source view- Dynamic action processors, for resolving processor sets at runtime rather than at build time
- Test helpers for driving stories against real Node behaviour
Where it runs
Anywhere Node runs: the dev server, a container, a script, or as the base layer under the AWS Lambda processors.
Status
Pre-1.0. The whole @qpqjs/* family releases in lockstep, so versions that share a number were built and tested together. Expect APIs to move between releases, and pin your versions.
Documentation
License
MIT. See LICENSE.
