abhchand / vanilla-tree-viewer

VanillaTreeViewer is a minimalist file browser for compactly displaying several files at once

Home Page:https://abhchand.me/vanilla-tree-viewer/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hello, great project ! few idea

fabifabi opened this issue · comments

It will be nice if you accept other parser as option...

Now you force people to use HTML, but the data can come from a json etc,that s make your project more universal.

Personnaly i use a lot : unist
the structure of a node is easy
{
name:"my directory",
childrens:[]
}

They do amazing lot of algorith on tree...and they are well tested.
So your parser can be ONE parser,and your project is more universal !

Another idea is to use (in option. ? ) https://www.npmjs.com/package/file-viewer

Of course optional...but heymnot all projects of the world need to be amazing small....

BUt thank you!i will use your project for....a real file viewer ! with nw.js it is fast to do !
Keep in touch ... i am not a very good user of github, but if you want exchange in private,i am ok!