code: protected IPromise<JsonObject> getDistributions(String module) {
          Promise res = new Promise();
  //        http://registry.npmjs.org/-/package/react/dist-tags
          http.getContent(config.getRepo()+"/-/package/"+module+"/dist-tags").then( (cont,err) -> {
              if ( cont != null ) {
                  JsonObject parse = Json.parse(cont).asObject();
                  res.resolve(parse);
              } else {
                  res.reject(err);
              }
          });
          return res;
      }
docs: map of tag => version