rekcod
rekcod copied to clipboard
Support promise-based API
I'm ok with supporting both callbacks and promises (where a Promise is returned if a callback is not given), but using promises has the benefit of working with async/await in Babel or the future.