proxy-tree

0.0.2 • Public • Published

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!' ]

Readme

Keywords

none

Package Sidebar

Install

npm i proxy-tree

Weekly Downloads

2

Version

0.0.2

License

MIT

Last publish

Collaborators

  • montyanderson