Refactoring example: Callbacks to promises 2 points by morphyn·4990 days ago·gist.github.com·Show in HN