loading...
Cover image for tinyhttp is participating in Hacktoberfest!

tinyhttp is participating in Hacktoberfest!

talentlessguy profile image v 1 r t l ・2 min read

Why I decided to take part in Hacktoberfest

As a creator of tinyhttp, this is my first year participating in Hacktoberfest. I decided that I would pick a maintainer role in it, with helping newcomers to make their first contributions.

What is tinyhttp

tinyhttp is a 0-legacy, tiny & fast web framework as a replacement of Express. It's written in TypeScript and is compiled to Node ESM (so you can use import / export syntax w/o extra tools) and CommonJS as well. All Express middlewares work for tinyhttp. It also supports async routes and has a set of prebuilt middlewares so everything you use is modern and smooth.

repo link:

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:

  • 2.3x 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

To get started, visit tinyhttp website.

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

Docs

You can see the documentation here.

Get Started

tinyhttp is compiled to ESM (and legacy CommonJS) so you can use import /…

Get started with contributing

Project setup instructions are written in the CONTRIBUTING.md file, as well as new middleware / module / example instructions.

How you can help tinyhttp

While the core package is mostly done, tinyhttp needs more examples, such as Prisma or Svelte SSR examples.

Full Examples TODO: https://github.com/talentlessguy/tinyhttp/issues/21

Also, there's a TODO list of middlewares and it's not yet completed so you can grab any from the list and start building it!

Full middleware TODO: https://github.com/talentlessguy/tinyhttp/issues/47

You can also help the tinyhttp website by improving it's SEO

All issues dedicated to hacktoberfest are labeled with different difficult levels. Pick the one that you think you can help with it and submit the PR :D

Good luck with hacktoberfest!

Posted on by:

talentlessguy profile

v 1 r t l

@talentlessguy

16yo nullstack dev, OSSer ⚡, expert in nothing

Discussion

pic
Editor guide