Skip to content

Latest commit

 

History

History
37 lines (20 loc) · 860 Bytes

Readme.md

File metadata and controls

37 lines (20 loc) · 860 Bytes

graph

declarative function composition inspired by prismatics graph library

Getting Started

With component

$ component install jkroso/graph

With npm

$ npm install jkroso/graph --save
var graph = require('graph')

API

graph(graph:Object)

compile a graph to a function. The input graph must be acyclic (no circular dependencies).

Running the tests

Running the test in node is just a matter of executing make test

Running in the browser though requires a build. To do that execute make test/built.js. You should then be able to open your browser to the test directory and watch the suite run.

Note: before you can run any tests you will need to execute npm install and nothing works on a windows pc

License

MIT