UNPKG

node-red-contrib-tak-registration

Version:

A Node-RED node to register to TAK and to help wrap files as datapackages to send to TAK

14 lines (9 loc) 356 B
var codegen = require(".."); // new require("benchmark").Suite().add("add", function() { var add = codegen(["a", "b"], "add") ("// awesome comment") ("return a + b - c + %d", 1) ({ c: 1 }); if (add(1, 2) !== 3) throw Error("failed"); // }).on("cycle", function(event) { process.stdout.write(String(event.target) + "\n"); }).run();