I am looking for a virtual directory system in javascript, as simple, compact and fast as possible. It is desirable to work with node js, or not tied to any database or server language.

Only functions are needed. Create, edit titles, delete and move directories. That is, the interface is similar to this:

enter image description here

  • What is "editing directories" is not clear, but otherwise, what is not satisfied with the standard node fs.mkdir() , fs.rmdir() , fs.rename() ? - Yaant
  • one
    I need the mapping code on the client ready. Same as in the screenshot. - manking
  • Here, in this form the question has become much clearer. :) - Yaant pm

1 answer 1

Well, the client in your picture and so drawn (dhtmlx) - did not use, I do not know.

I used jqTree - I really liked it.

the server side is another component. I would look in English stackoverflow: link 1 , link 2 , link 3

Of course, it would be cool if there was a ready-made solution in GitHub. If write, drop the link. It will be useful.

I apologize, I did not immediately notice that you have a much more difficult task: you want a virtual file system. But in the first approximation, you can make it 1-in-1 mapped to a real file system on the server.

  • I use jqTree, just fit - manking