Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

5
  • 8
    this should be the answer Commented Oct 31, 2017 at 13:38
  • How about using promisify from util? Commented Jun 23, 2019 at 11:38
  • Really Helpful. Commented Oct 18, 2019 at 8:16
  • request-promise has been deprecated since then Commented May 22, 2020 at 1:36
  • Thanks j-chan, I updated the answer based on your comment. Commented May 26, 2020 at 20:19