ttezel / twit

Twitter API Client for node (REST & Streaming API)
4.31k stars 568 forks source link

Bluebird dependency #411

Closed dandv closed 6 years ago

dandv commented 6 years ago

Any plans to remove the Bluebird dependency now that Promises have been natively supported for a while?

dandv commented 6 years ago

Found @peterpme's twitter-lite

ttezel commented 6 years ago

I don't plan to remove Bluebird since I believe Promise support was added natively in Node v0.12, and twit supports earlier versions of Node.

dandv commented 6 years ago

Versions of node earlier than v0.12 have been in End-of-Life stage for more than a year. How many twit users still use such old Node versions?

The vast majority of twit users use current Node versions, which support native Promises. Is it worth penalizing all these users for the sake of supporting Node <v0.12?

If twit switched to native Promises in the next major release, those who need Node <v0.12 for some reason can simply continue to use the current version of twit.