tinyhost
Small wrapper around http
for Node.js.
Features
- Lightweight
- Blazing fast
- 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!