会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
laremehpe
新随笔
新文章
管理
2023年12月11日
nodejs 删除文件夹
摘要: const fs = require("fs"); const delDir = (dir) => { if (!fs.existsSync(dir)) { throw new Error("dir does not exist!"); } const list = fs.readdirSync(d
阅读全文
posted @ 2023-12-11 13:56 laremehpe
阅读(121)
评论(0)
推荐(0)
编辑