nodecraft / b2-cloud-storage

Backblaze B2 Cloud Storage API Client. Implements all of the B2 Cloud Storage APIs, with helper methods for uploading files.
MIT License
42 stars 10 forks source link

Add support for Promises, with async/await #30

Open Cherry opened 4 years ago

Cherry commented 4 years ago

This library is pretty mature now and works really well, but still uses callbacks. There's nothing wrong with callbacks, but a lot of modern code nowadays uses promises via async/await, and having this library conform to that would be ideal.

Things to think about: