@heat/step-functions-local

0.0.6 • Public • Published

@heat/step-functions-local

A wrapper around Amazon's StepFunctions Local to start and stop it from Node.js.

version

This module wraps Amazon's StepFunctions Local. It just exposes one method called spawn() which does not much more than calling child_process.spawn() and returning it's result.

const stepFunctionsLocalProcess = dynamoDbLocal.spawn();
// ...
stepFunctionsLocalProcess.kill();

A property the options object could have is port. It specifies the port number that the process will run on. In absence of the port property, 8083 is used as the port number.

const port = 8083;
const stepFunctionsLocalProcess = stepFunctionsLocal.spawn(port);
// ...
stepFunctionsLocalProcess.kill();

/@heat/step-functions-local/

    Package Sidebar

    Install

    npm i @heat/step-functions-local

    Weekly Downloads

    7

    Version

    0.0.6

    License

    MIT

    Unpacked Size

    23.3 MB

    Total Files

    132

    Last publish

    Collaborators

    • ivands
    • micmonen