0.0.4 • Published 12 months ago

@taotao7/file-tree v0.0.4

Weekly downloads
-
License
ISC
Repository
github
Last release
12 months ago

File Explorer Library

A simple JavaScript library that allows users to select a folder and returns all the files within the selected directory.

!WARNING This library supports the following browsers: "Chrome >= 86", "Edge >= 86", "Opera >= 72"

Features

  • Select a folder using a file input dialog.
  • Retrieve a list of all files in the selected directory.
  • Supports various file types.

Installation

You can include the library in your project by using npm:

npm install @taotao7/file-tree

example

import {FileEntry},selectDirectoryAndGetFiles from '@taotao7/file-tree';

const main = async () => {
    const files = await selectDirectoryAndGetFiles();
    console.log(files)
}
0.0.4

12 months ago

0.0.3

12 months ago

0.0.2

12 months ago