node.js学习(6)创建和删除目录

1 导入模块 fs

删除文件

# 同步

创建目录

删除目录

# 异步

创建目录

原文地址:https://www.cnblogs.com/xiao-xue-di/p/11332593.html