This repository implements the TompHTTP bare server. See the specification here.
We provide a command-line interface for creating a server.
For more features, specify the --help
option when running the CLI.
- Install Bare Server Node globally
$ npm install --global @tomphttp/bare-server-node
- Start the server
$ npx bare-server-node
Optionally start the server localhost:8080:
$ npx bare-server-node --port 8080 --host localhost
See examples/.
See the wiki.