expose-fs-patched

1.5.5 • Public • Published

expose-fs-patched

forked and patched from expose-fs

Expose a file system over http

npm install -g expose-fs-patched

Usage

This install a command line tool called expose-fs-patched

expose-fs-patched . # expose . on port 8441

Then do

curl localhost:8441 # returns a directory listing in JSON format
curl localhost:8441/some-file.txt # returns the file content
curl -X PUT --data 'hello world' localhost:8441/some-file.txt # writes a file
curl -X POST localhost/some-dir # creates a new directory

Run expose-fs-patched --help for additional options

License

MIT

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.5.5
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.5.5
    2
  • 1.5.4
    1
  • 1.5.3
    1
  • 1.5.2
    1

Package Sidebar

Install

npm i expose-fs-patched

Weekly Downloads

5

Version

1.5.5

License

MIT

Unpacked Size

5.78 kB

Total Files

7

Last publish

Collaborators

  • eckoit