Bluebird is widely reputed to be the fastest (or at least most
highly-optimized) of the promises libraries that work with Node:

  https://github.com/petkaantonov/bluebird

RSVP is a tiny Promises/A+ implementation that does very little beyond the
basics in the spec, and is thus a good way to get your head wrapped around
the ideas:

  https://github.com/tildeio/rsvp.js

If you want something that behaves as close to the draft ES6 promise spec
as possible, there's ES6-Promises, which is a modified version of RSVP with
the draft ES6 API:

  https://github.com/jakearchibald/es6-promise

Q is venerable and I've used it in a few projects, but it's also pretty
complex and thus maybe not the best place to start. I'm using ES6-Promise
to build a strawman implementation of another W3C API built on ES6
features, and so far I'm pleased with how simple and straightforward it is,
which for my purposes is more important than raw performance.

F


On Fri, Jan 24, 2014 at 3:44 PM, Ian L. <[email protected]> wrote:

> I'd like to use more promises in our codebase, but I'm not sure which
> library on which we should standardize.
>
> Promises/A+ is the spec that's coming in ECMAScript 6, so I'd like to use
> a library that's mostly a polyfill for whatever's going to be the standard
> eventually. Which module is the closest? Or should I use a more mature or
> full-featured library like Q knowing that the concepts are basically the
> same and I won't have a terrible experience if in the future I need to port
> code to the new standard?
>
> --
> --
> Job Board: http://jobs.nodejs.org/
> Posting guidelines:
> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> You received this message because you are subscribed to the Google
> Groups "nodejs" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/nodejs?hl=en?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "nodejs" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to