0.1.5 • Published 2 years ago

filebridge v0.1.5

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

FileBridge

npm version

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.