emptyd-server

1.0.0 • Public • Published

emptyd-server

emptyd-server is a simple, zero-configuration command-line http server. It is powerful enough for production usage, but it's simple and hackable enough to be used for testing, local development, and learning.

Install

  cnpm install emptyd-server -g
  npm install emptyd-server -g

Zero Config

The emptyd-server works without configuration.

Usage

Static Resource Services

"emptyd-server -d / -p 8080 -o localhost -P http://129.204.139.211"

Options

You can pass a hash of configuration options to emptyd-server. Allowed values are as follows

Name Type Default Description
-p or --port {number} 8080 port is used to specify the port of the service
-P or --proxy {String} proxy is used to configure proxies for services
-o or --host {string} loclhost host is used to configure monitored hosts
-d or --root {string} "process.cwd()" root is used to configure the static file root directory

Maintainers


freemenL

Readme

Keywords

Package Sidebar

Install

npm i emptyd-server

Weekly Downloads

4

Version

1.0.0

License

ISC

Unpacked Size

17.4 kB

Total Files

9

Last publish

Collaborators

  • fremenl