code: function read_dir(dir){
      var all=[];
      function read(dir){
          fs.readdirSync(dir).forEach(v=>{
              var tem=dir+"/"+v;
              if(is_dir(tem)){
                  read(tem);
              }else if(is_file(tem)){
                  all.push({
                      file:tem,
                      size:size(tem),
                      name:v,
                  });
              }
          })
      }
      read(dir);
      return all;
  }
docs: 执行程序的目录