Closed alexjeffburke closed 4 years ago
@alexjeffburke did you consider using https://github.com/lebab/lebab to modernise trivial things like var
to const
and using arrow functions.
@sunesimonsen yeah :) only reason I was holding off was to avoid the PR ballooning so I thought it'd be a follow-up - but happy to proceed if that isn't a concern.
👍
This PR replaces callback use throughout the library with async/await. In addition, where appropriate other newer features such as object spread and Object.assign() are used to remove a few additional libraries and helpers.