Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

qiao-file

Package Overview
Dependencies
Maintainers
1
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

qiao-file - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2

4

package.json
{
"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 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc