The Bare Server implementation in NodeJS.
npm install @tomphttp/bare-server-nodeThis repository implements the TompHTTP bare server. See the specification here.
A guide for updating from v1 to v2 can be found here.
We provide a command-line interface for creating a server.
For more features, specify the --help option when running the CLI.
1. Install Bare Server Node globally
``sh`
npm install --global @tomphttp/bare-server-node
2. Start the server
`sh`
npx bare-server-node
Optionally start the server localhost:8080:
`sh``
npx bare-server-node --port 8080 --host localhost
See examples/.
See the wiki.