code: function readFromLocalConfig(parent){
      return readFile(config_file(parent), "utf8")
          .then(function(contents){
              return JSON.parse(contents);
          })
          .catch(function(){
              return {
                  data: {},
                  installed: [],
              };
          });
  }
docs: const LOCAL_CONFIG_FILE = path.resolve(process.cwd(), './.badge.json');