This is a fairly significant reorganization of the code into more compartmentalized units with some very cool new features. The coolness includes:
- A new Conversion namespace / class to house methods that can easily transform non-Promise methods (synchronous, asynchronous, and Node.js-style) into Promise-generating forms.
- Conversion methods that can transform batches of methods on objects and prototypes into Promise-generating forms. The Node.js version can be used to quickly make Node.js itself use Promises everywhere, be they native methods or libraries.
- A npm-published Node.js package ("promisespromises").
There are some very interesting possibilities around the Node.js conversion methods, so feedback there would be especially appreciated.