1.0.9 • Published 5 years ago

pubdir v1.0.9

Weekly downloads
8
License
MIT
Repository
github
Last release
5 years ago

pubdir

NPM MIT

A minimal HTTP file server

Installation

npm install -g pubdir

Example

Expose all *.mp4 files recursively at port 6000.

Note that glob pattern must be quoted to prevent bash expansion.

pubdir -p 6000 "**/*.mp4" --duration 30m
  • When -p or --port is not present, random port number is used by default.
  • When glob pattern is not present, * is used by default.
  • If want to run server temporaliy , specify --duration optionally. Use m suffix to specify server alive duration by minutes. (h is hours, s is seconds) If time-unit is not present, m is used by default.

License

Distributed under the MIT license

Copyright (C) 2016 Retorillo

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago