How to use the baobab.dynamicNode function in baobab

To help you get started, we’ve selected a few baobab examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github cerebral-legacy / cerebral-model-baobab / index.js View on Github external
unshift: function (path, value) {
            tree.unshift(path, value);
          }
        }
    };

  };

  model.tree = tree;

  return model;

};

Model.monkey = Baobab.monkey;
Model.dynamicNode = Baobab.dynamicNode;

module.exports = Model;

baobab

JavaScript persistent data tree with cursors.

MIT
Latest version published 4 years ago

Package Health Score

56 / 100
Full package analysis