UNPKG

bigml-nodered

Version:

BigML bindings for Nodered

13 lines (8 loc) 282 B
var node = require('bigml-nodered-core').dataset_split; module.exports = function(RED) { function REDNode(config) { RED.nodes.createNode(this, config); this.on('input', node.dataset_split(this, config, RED)); } RED.nodes.registerType("dataset-split", REDNode); }