easyServer is a command line tool that can create a server easily.
easyServer and press enter in your command line, then the server is created.You can check it in the browser with
If you want to use another port like 8888,you can use
easyServer 8888 command,then the server's port is 8888.
npm install -g easyServer and press enter in your command line, then wait for a moment, and it's done.
The code of ipaddr is at github.