whorusq / myfile

The NodeJS static web server.

Repository from Github https://github.comwhorusq/myfileRepository from Github https://github.comwhorusq/myfile

myfile

The NodeJS static web server.

Install

npm i -g myfile

Usage

# start server with default options.
# - server port: 3333
# - file directory: .
myfile

# custmize the port
myfile -p 6666

# custmize the directory
myfile -d /home/user1

# custmize the root path and server port,
# and open the url after start the server.
myfile -d /usr -p 6666 --auto

# show version
myfile -v

# show help
myfile -h

About

The NodeJS static web server.

License:MIT License


Languages

Language:JavaScript 83.6%Language:Smarty 16.4%