/httpuppy

dog themed wrapper around node's http module :dog:

Primary LanguageTypeScriptGNU Affero General Public License v3.0AGPL-3.0

HTTPuppy

A simple & speedy abstraction layer for node web servers 🐶

Features

  • simple, easy to use api
  • worker thread support for 🔥 blazing fast response times
  • middleware support
  • router support
  • static directory serving
  • exposes underlying node HTTP API for full customization, just adds helpers
  • command line interface
  • static typed, very handy intellisense
  • familiar express style

Installation

npm i httpuppy
yarn add httpuppy

Command Line Use

npx httpuppy --serve path/to/files

create static dev server which is mounted at path/to/files by default on port 3000