searchNPMRegistry(rows)
          .then(function(response) {
            resolve(response);
          })
          .catch(function (err) {