tinyhost
    TypeScript icon, indicating that this package has built-in type declarations

    3.1.1 • Public • Published

    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!

    Install

    npm i tinyhost

    DownloadsWeekly Downloads

    1

    Version

    3.1.1

    License

    MIT

    Unpacked Size

    8.41 kB

    Total Files

    5

    Last publish

    Collaborators

    • b1tt