Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
deyihu committed Jul 24, 2024
1 parent ab6c670 commit e064d3f
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,25 @@ fdnd.dnd((files) => {
```js
const treeData = fdnd.toTree();
```
* toFolderTree() `Convert file tree to markdown directory text `

```js
const text = fdnd.toFolderTree();
```
```
├─ src
| ├─ assets
| | ├─ vue.svg
| ├─ components
| | ├─ HelloWorld.vue
| ├─ App.vue
| ├─ common.js
| ├─ draw.vue
| ├─ fly.vue
| ├─ main.js
| ├─ style.css
```

* clear() `clear all files`

Expand Down

0 comments on commit e064d3f

Please sign in to comment.