Comparing version 2.0.1 to 2.0.2
{ | ||
"name": "qiao-file", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"description": "nodejs file tool", | ||
@@ -28,3 +28,3 @@ "author": "uikoo9 <uikoo9@qq.com>", | ||
}, | ||
"gitHead": "9cc95752bf86d3ed96912c27adf7914f85a8d335" | ||
"gitHead": "6450728e8d12972bcbb9ce451fdbb1425e8a3b37" | ||
} |
@@ -10,2 +10,4 @@ ## qiao-file | ||
安装 | ||
```bash | ||
@@ -17,2 +19,4 @@ npm i qiao-file | ||
使用 | ||
```javascript | ||
@@ -28,2 +32,4 @@ // cjs | ||
复制,移动,删除文件或文件夹 | ||
### cp | ||
@@ -39,2 +45,4 @@ | ||
移动文件或文件夹 | ||
```javascript | ||
@@ -54,2 +62,12 @@ const res = await mv(src, dest); | ||
文件夹相关操作 | ||
### mkdir | ||
创建文件夹 | ||
```javascript | ||
const res = await mkdir(dirpath); | ||
``` | ||
### readDir | ||
@@ -81,12 +99,6 @@ | ||
### mkdir | ||
## file | ||
创建文件夹 | ||
文件相关操作 | ||
```javascript | ||
const res = await mkdir(dirpath); | ||
``` | ||
## file | ||
### extname | ||
@@ -126,2 +138,4 @@ | ||
文件相关判断 | ||
### isDir | ||
@@ -128,0 +142,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
16264
228