wangshuaitao


  • ```javascript let fs = require("fs"); const copyDir = (sorDir,tarDir)=>{ if(!fs.existsSync(sorDir)){ throw new Error("不存在复制路径" + sorDir); } if(fs.existsSync(tarDir)){ throw new Error("已经存在该目标路径啦" + tarDir); } f

    published 1.0.5 3 years ago
  • published 1.0.2 3 years ago
  • published 1.0.0 3 years ago
  • published 1.0.0 3 years ago
  • ```JavaScript class Moment{ constructor(time){ this.time=time; this.change() } change(){ let nowtime = new Date(); let newtime = new Date(this.time);

    published 3.3.0 3 years ago
  • published 1.0.0 3 years ago
  • published 1.1.0 3 years ago
  • published 1.0.0 3 years ago
  • published 1.2.0 3 years ago