DEV Community

loading...

Discussion on: Why You Should Start Contributing to Open Source Software Right Now

Collapse
talentlessguy profile image
v 1 r t l

pardon for shameless plug, but if someone wants to help to a cool project without much effort, I'd like to introduce tinyhttp

GitHub logo talentlessguy / tinyhttp

⚡ 0-legacy, tiny & fast web framework as a replacement of Express

tinyhttp

Tiny web framework as a replacement of Express

npm GitHub Workflow Status Codecov Vulnerabilities Codacy grade Last commit NPM

tinyhttp is a modern Express-like web framework written in TypeScript and compiled to native ESM, that uses a bare minimum amount of dependencies trying to avoid legacy hell.

Here is a short list of most important features that tinyhttp has:

  • 2x faster than Express
  • Full Express middleware support
  • Async middleware support
  • Native ESM and CommonJS support
  • 🚀 No legacy dependencies, just the JavaScript itself
  • 🔨 Types out of the box
  • 🔥 Prebuilt middleware for modern Node.js

Visit tinyhttp website for docs, guides and middleware search.

Install

tinyhttp requires Node.js 12.4.0 or newer. It is recommended to use pnpm, although it isn't required.

# npm
npm i @tinyhttp/app
# pnpm
pnpm i @tinyhttp/app
# yarn
yarn add @tinyhttp/app
Enter fullscreen mode Exit fullscreen mode

Docs

You can see the documentation here.

Get Started

tinyhttp is compiled to ESM (and…

it's a 0-legacy Express-like web framework, and currently it needs a lot of tests and examples. Both are easy to make, but it takes a lot of time to do it by one person. so if u want to help this project, feel free to start :D

Collapse
mhatvan profile image
Markus Hatvan Author

Cool project! I will pick an issue and contribute when I find the time!