filebridge
v0.1.5
Published
[![npm version](https://badge.fury.io/js/filebridge.svg)](https://badge.fury.io/js/filebridge)
Downloads
2
Readme
FileBridge
FileBridge is a simple server to interact with a directory on your local file system. Use it to interact with a filesystem from a web application or other client.
Starting
npx filebridge [dir] [-p 3001]
Reading files
GET /file/<relative path to dir>
Writing files
POST /file/<relative path to dir>
Watching
FileBridge exposes filesystem events (provided by Chokidar) over WebSockets.
Client
A javascript is available as the package filebridge-client
. See example usage in the unit test.