-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Dan Stocker edited this page May 30, 2019
·
1 revision
In FlowCode, you build programs as dataflow graphs rather than text. As a result, FlowCode lends itself very well to asynchronicity, distributed computing, and visual programming, but it's just as useful in other areas, like web front-end.
First, grab the npm package:
npm i flowcode
After that, a hello world program which logs "Hello World!" to the console would look like this: (Node.js)
import {connect, createNoop} from "flowcode";
const noop = createNoop();
connect(noop.o.d_val, console.log);
noop.i.d_val("Hello World!");
For further features and examples check out the API reference.
FlowCode is written in TypeScript. Examples throughout this wiki are also in TypeScript.