Return ES2015 Proxy object
See original GitHub issueECMAScript6 Proxies are currently not available on node, therefore this issue is a reminder for future versions.
pify(obj)
should return an ECMAScript6 Proxy object, forwarding almost all operations to obj
, and promisifying only some functions, thus we almost surely get rid of most non-enumerable and inheritance issues.
IssueHunt Summary
frangio has been rewarded.
Backers (Total: $70.00)
- issuehunt ($70.00)
Submitted pull Requests
Tips
- Checkout the Issuehunt explorer to discover more funded issues.
- Need some help from other developers? Add your repositories on IssueHunt to raise funds.
IssueHunt has been backed by the following sponsors. Become a sponsor
Issue Analytics
- State:
- Created 7 years ago
- Comments:14 (12 by maintainers)
Top Results From Across the Web
Proxy - JavaScript - MDN Web Docs
The Proxy object enables you to create a proxy for another object, which can intercept and redefine fundamental operations for that object.
Read more >how do I turn an ES6 Proxy back into a plain object (POJO)?
I'm using a library that turns things into ES6 Proxy objects, and another library that I think is choking ...
Read more >Introducing ES2015 proxies - Chrome Developers
The Proxy API contains a Proxy constructor that takes a designated target object and a handler object. var target = { /* some...
Read more >JavaScript Proxy Explained Clearly By Practical Examples
A JavaScript Proxy is an object that wraps another object (target) and intercepts the fundamental operations of the target object.
Read more >mikaelbr/awesome-es2015-proxy - GitHub
Tries to collect resources such as presentations, articles, modules and examples using Proxy, Reflect and other intercession type metaprogramming. The Proxy ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@bfred-it Some things will just work compared to now, like ES6 classes, this binding, etc.
Anyone wants to step in and finish https://github.com/sindresorhus/pify/pull/32? Including handle my review comments. I’ll put a bounty on this shortly. I think it’s better now to just have the proxy interface instead of both. Proxy is pretty optimized in newer Node.js versions. This task includes adding tests to handle all the things mentioned in the open issues too.