Simple static http-server for frontend.
$ npm install frontserv -g
$ frontserv
$ frontserv --dir /home/user/www-data
Default: current dir
$ frontserv --host 192.168.1.34
Default: localhost
$ frontserv --port 8080
Default: 8000
Show list of files in the directory.
$ frontserv --autoindex
$ frontserv --version
$ frontserv --help
To run the test suite, first install the dependencies, then run npm test
:
$ npm install
$ npm test