filebridge
TypeScript icon, indicating that this package has built-in type declarations

0.1.5 • Public • Published

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.

Dependencies (6)

Dev Dependencies (6)

Package Sidebar

Install

npm i filebridge

Weekly Downloads

0

Version

0.1.5

License

MIT

Unpacked Size

81 kB

Total Files

18

Last publish

Collaborators

  • yousefed