摘要: http://www1.qdfuns.com/tools.php?mod=regex 阅读全文
posted @ 2017-12-27 15:31 SharkChilli 阅读(121) 评论(0) 推荐(0) 编辑
摘要: 检测文件是否存在 // 检测文件是否存在 fs.exists('readme.md', function(exists) { console.log(exists); }) 异步操作 // 新建目录 fs.mkdir('file', 0777, function(err) { if (err) th 阅读全文
posted @ 2017-12-27 09:29 SharkChilli 阅读(186) 评论(0) 推荐(0) 编辑