maybe-promise-factory (npm): The maybePromiseFactory normalizes synchronous values and asynchronous values by always returning a Promise.
Keywords: promise