News for hackers. Stuff that matters.
Re:JavaScript Promises: There and back again by spion on Tuesday December 17, 2013 @07:23PM (#6924977)
It really isn't much of a problem. A lot of the time its as easy as replacing

  var lib = require('lib');
with (given var Promise = require('bluebird'))

  var lib = require('lib');
  Promise.promisifyAll(lib);
And in case of classes, you'd use promisifyAll on about 2-3 prototypes instead.

There are no comments on this comment yet.