vanilla-tree-viewer
vanilla-tree-viewer copied to clipboard
Hello, great project ! few idea
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!