Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fibo/dflow

Repository files navigation

Dflow

A minimal Dataflow programming engine

Installation

Using npm

With npm do

npm install dflow

Using a CDN

Try this in your HTML page

<script type="importmap">
  { "imports": { "dflow": "https://unpkg.com/dflow" } }
</script>

<script type="module">
  import { Dflow } from "dflow";

  const helloWorld = {
    kind: "helloWorld",
    run() {
      console.log("Hello, World!");
    }
  };

  // Create a Dflow instance passing the node defined above.
  const dflow = new Dflow([helloWorld]);

  // Create a helloWorld node.
  dflow.node("helloWorld");

  // run graph
  dflow.run();
</script>

Usage

See:

About

A minimal Dataflow programming engine

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •