240 发简信
IP属地:内蒙古
  • 道友,第三个获取扩展名,你注释错行了哦~

    node.js学习笔记之path模块

    1. 获取路径filepath所处的目录 2. 获取文件名 3. 获取拓展名 4. 路径拼接 5. 获取绝对路径 6. 获取相对路径 7. 规范化路径 8. 路径分解 ...

  • chokidar的使用(监听文件变化)

    github地址:https://github.com/paulmillr/chokidar [toc] chokidar API chokidar.watch(paths,...