topromise (npm): cover a function to promise
Keywords: function|promise