frolleks / httpxt

A fast web framework.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

httpxt

A fast web framework.

Usage

// CommonJS
const httpxt = require("httpxt");
// ESM
import httpxt from "httpxt"

const app = httpxt();

app.get("/", async (req, res) => {
  res.end("Hello world!")
});

app.listen(3000, async () => {
  console.log("Server is up!")
});

Installation

To install httpxt, run one of the following commands:

# npm
npm i httpxt

# yarn
yarn add httpxt

# pnpm
pnpm add httpxt

About

A fast web framework.

License:MIT License


Languages

Language:TypeScript 76.9%Language:JavaScript 23.1%