Webserver for static sites


6.17.02 years ago4 years agoMinified + gzip package size for @commonshost/server in KB



Static HTTP/2 web server for single page apps and progressive web apps.

Key Features

  • HTTP/2 with fallback to HTTP/1.x
  • HTTP/2 Server Push Manifests
  • Brotli and Gzip compression negotiation
  • Multi-core clustering
  • Multiple hosts with different domains
  • Fallback for client side routing
  • Custom response headers
  • http: to https: URL redirect
  • Auto-generate TLS certificate for localhost development

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.