@linely-io/cranky-screenshot
v2.0.0
Published
Cranky screenshot: composable playbook execution
Readme
@linely-io/cranky-screenshot
Opt-in screenshot actions using html2canvas or html-to-image.
Requires Node.js 24+ for backend use and ES modules.
npm install @linely-io/cranky-screenshotimport { createEngine, actionRegistry } from '@linely-io/cranky-browser';
import { screenshotActions } from '@linely-io/cranky-screenshot';
const engine = createEngine(
undefined,
{},
{
actions: { ...actionRegistry, ...screenshotActions },
}
);
// Run screenshot actions in a real browser; await engine.close() after use.Also exports ScreenshotAction for custom adapters. Registration is per engine and does not mutate shared registries.
See package composition and connections.
