0.0.2 • Published 7 years ago
proxy-tree v0.0.2
proxy-tree
Usage
const proxyTree = require("proxy-tree");
const tree = proxyTree((path, args) => {
console.log(path, args);
});
tree.a.b.c.d.e.f.g("Hello, World!");
// [ 'a', 'b', 'c', 'd', 'e', 'f', 'g' ] [ 'Hello, World!' ]