Convert any type of promise to a then promise
npm install to-then promise
const toThen = require("to-then");
const es6Promise = new Promise(resolve => resolve("Hello World!")); // Regular native promise.
const thenPromise = toThen(es6Promise); // Then promise.
Type: PromiseLike
The promise to convert.