One example can be found on . In the example, two accumulator branches are implemented and a linking function (see Link class) manages the interface between both branches.
To use the library directly in your application, you can use the NPM registry.
npm i human-modelling-framework
You are welcome to fork the GitHub repository if you would like to extend this library.