babelsbergjs-core

    0.1.4 • Public • Published

    babelsbergjs-core

    An easy to use Node package for BabelsbergJS.

    See the original repo for more info on Babelsberg.

    Usage

    • require babelsbergjs-core and a solver in your Node project:
      var bbb = require('babelsbergjs-core');
      var bbb_cassowary = require("babelsbergjs-cassowary")
    • use constraints
      obj = {a: 1, b: 2};
      return bbb.always({
        solver: new bbb_cassowary.ClSimplexSolver(),
        ctx: {obj: obj}
      }, function () {
        return obj.a + 7 <= obj.b;
      });
      obj.a = 10; // obj.b is now >= 17
    • check out solvers, tools and examples here.

    Install

    npm i babelsbergjs-core

    DownloadsWeekly Downloads

    0

    Version

    0.1.4

    License

    BSD-3-Clause

    Last publish

    Collaborators

    • the_berg
    • parnswir