fileutil
目标
简易的文件操作API
安装
npm install fileutil
示例
var fu = ; //创建文件fu; //创建文件夹fu; //删除文件或文件夹fu; //是否存在fu; //复制文件或者文件夹里的所有文件到某个新目录fu; //移动文件或者文件夹里的所有文件到某个新目录fu; //重命名fu; //列出文件夹里的所有文件和文件夹var files = fu; //根据过滤参数,列出文件夹里的所有文件和文件夹var files = fu; //回调的方式遍历文件fu; //异步回调的方式遍历文件fu;
Licence
fileutil
is free to use under MIT license.
Bugs & Feedback
Please feel free to report bugs or feature requests.
You can send me private message on github
, or send me an email to: [colorhook@gmail.com]