Wrapper around http package, designed to be small.


Keywords
web, website, server
License
MIT
Install
npm install tinyhost@3.1.1

Documentation

tinyhost

npm version GitHub license GitHub code size in bytes

Small wrapper around http for Node.js.

Features

  1. Lightweight
  2. Blazing fast
  3. Well-documented

Usage

Download the package using npm i tinyhost before using it.

See the documentation here!

Example

const th = require("tinyhost")(3000);
th.request("GET", "/", (r, s) => s.write("Hello!"));

Found a bug? Want your feature to be considered? Make an issue!