Online Explorer
Install
Use npm:
npm i online-explorer
Note: Please do not use the git version directly. Remember to build first.
Usage
command line
Usage: online-explorer [options]
Options:
-h, --help output usage information
-V, --version output the version number
--host <host> host on which to listen to (default 127.0.0.1)
-p --port <port> port on which to listen to (default 3000)
Or try docker:
docker pull quay.io/helloqiu/online-explorer
docker run -d \
--name online-explorer \
--restart always \
-p 3000:3000 \
-v path-you-want-to-explore:/web-files quay.io/helloqiu/online-explorer
module
var Explorer = require('online-explorer')var explorer = new Explorer(host, port, path)explorer.run()
ScreenShot
License
MIT