2.0.0 • Published 4 years ago

@mbears/web-server v2.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

web-server

NPM version

A minimalist web server.

Environment

Node.js >= 10

Install

$ npm install @mbears/web-server -g

Example

You can run web-server in project directory to start a simple server.

# simple demo
$ web-server
# custom port.default:3000
$ web-server --port 8888
# custom path.default:index.html
$ web-server --path ./dist
# HTML5 history mode
$ web-server --history
# publicPath
$ web-server --publicPath
# cache mode.default:3600s
$ web-server --cache
# custom cache time(s)
$ web-server --cache 2000

License

MIT

2.0.0

4 years ago

1.2.2

4 years ago

1.2.1

5 years ago

1.2.0

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago

0.0.1

5 years ago