yjs-filesystem
v0.0.1
Published
A module that creates a virtual filesystem with Textfiles based on [yjs](https://yjs.dev) shared editing framework. Basically, it's just a Map of filepath/name to a Y.Text(), all in a Y.Doc() and some helper functions to create, rename, move, delete.
Downloads
2
Readme
yjs-filesystem
A module that creates a virtual filesystem with Textfiles based on yjs shared editing framework. Basically, it's just a Map of filepath/name to a Y.Text(), all in a Y.Doc() and some helper functions to create, rename, move, delete.
Usage
You can for example use it to create a collaborative working space with multiple text files. Like an online editor or IDE for coding. It is supposed to abstract de yjs things as much as possible so you ca interact with it as with a file system (in the browser).