bluebird , as I understand it, is a library of promises.
But why is it needed, if in ES6 it supports promises?
Or is bluebird the same promises as in native ES6, only with additional improvements?

  • one
  • @ D-side Still there is a module fs require ('fs'); You can say a few words about him. Is it also a library of promises like bluebird? - Artem PeGaS
  • Where does this conclusion come from? - D-side
  • one
    This is the NodeJS model, which provides work with the file system. JS does not have these interfaces, so this is a pure node module. Although asynchronous operations are there and they can already be wrapped in promise, although not necessary, because there are synchronous analogues. - user207618
  • one
    Bluebird was written when there were no native promises, but the specification was already there. And they are still in some places faster than native promises - Alexey Ten

0