Show HN: Abstracting APIs with ES2015 Proxy – promisifying Chrome and Node(github.com)
github.com
Show HN: Abstracting APIs with ES2015 Proxy – promisifying Chrome and Node
https://github.com/slikts/promiseproxy
https://github.com/slikts/promiseproxy
I've recently built this wrapper for chrome apis for ClojureScript developers: https://github.com/binaryage/chromex
It converts callbacks to core.async channels (which is a popular clojurescript async primitive) also it uses chromium sources to generate whole api-index as clojure data structures and then uses macros to generate wrapping / marshalling of API calls. That way I can also retain API versioning and warn API clients when using wrong version / signatures.