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:

fs.mkdir(),fs.rmdir(),fs.rename()? - Yaant