An open API service indexing awesome lists of open source software.

https://github.com/montyanderson/proxy-tree

Write dynamic API wrappers with trees of Proxy
https://github.com/montyanderson/proxy-tree

api dynamic es6 node proxy

Last synced: about 1 month ago
JSON representation

Write dynamic API wrappers with trees of Proxy

Awesome Lists containing this project

README

        

# proxy-tree

## Usage

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