How can nodejs introduce promise to change the original code as little as possible?

  node.js, question

For example, I only want to acquire data asynchronously like synchronous language. For example, the following data can be acquired remotely via Http:

function getDataFromHttp(param){
 
 bracket

However, at present, even if promise is used, only one promise object can be returned, so the function calling it also has to use then:

function getDataFromHttp(param){
 return new Promise(function(req,res){
 XXXX
 });
 bracket
 
 then(function(data){
 
 });

If the function is designed in this way, it still cannot solve the problem, can it?

function getDataFromHttp(param){
 var promise= new Promise(function(req,res){
 XXXX
 });
 promise.then(function(data){
 return data;
 });
 bracket

So, how can we do it?

There should be no solution in Promise. Only all can be changed to Promise style.