2.0.0 • Published 11 months ago

bare-server-node v2.0.0

Weekly downloads
-
License
GPL-3.0
Repository
github
Last release
11 months ago

Disclaimer

This is NOT TompHTTP's real bare-server-node. This is a git clone for any dumb deployment service who blocks the original. Full credit to TompHTTP for all the code.

TOMP Bare Server

This repository implements the TompHTTP bare server. See the specification here.

Upgrading

A guide for updating from v1 to v2 can be found here.

Usage

We provide a command-line interface for creating a server.

For more features, specify the --help option when running the CLI.

Quickstart

  1. Install Bare Server Node globally
npm install --global @tomphttp/bare-server-node
  1. Start the server
npx bare-server-node

Optionally start the server localhost:8080:

npx bare-server-node --port 8080 --host localhost

Programically create a bare server

See examples/.

Development

See the wiki.