tinyhttp
router
Our great sponsors
tinyhttp | router | |
---|---|---|
14 | 3 | |
2,601 | 837 | |
0.5% | 0.5% | |
7.8 | 4.6 | |
26 days ago | 20 days ago | |
TypeScript | JavaScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
tinyhttp
- tinyhttp: 0-legacy, tiny & fast web framework as a replacement of Express
-
Hacktoberfest Conclusion
After this I really hit the ball rolling and was able to find more issues to work on. One thing that I enjoyed was that all of my PRs were drastically different from each other. I worked on correcting documentation for AdonisJS, fixed a HTTP Content-Type Header bug in tiny-http, and then finally even created a short script for users to load up their own local version of the Electron documentation site.
-
Hacktoberfest Week 2 (Pt. 2)
I worked on Issue 360. Essentially, when a user would set the "Content-Type" header before returning the file, the framework would overwrite the "previous" header, with the type that it determined from the files type.
- NRAF(Not Really a Framework) - A zero external dependency framework for WebApps
-
Using tsm as a shebang interpreter in TypeScript
tinyhttp: a modern web framework written in TypeScript. It uses tsm in its documentation examples as a simple way to get users up and running quickly
- Why are you still using express?
- tinyhttp V2 released: Now pure ESM
- tinyhttp V2 released β now with pure ESM
-
Using Redis Pub/Sub with Node.js
The framework I decided to use today was tinyhttp, with an API similar to Express, I don't have a specific reason to use this framework and the example code is easily replicated to other frameworks.
- Show HN: Tinyhttp v2 Released
router
-
a first look at oak
Oak is a middleware framework for Denoβs native HTTP server and Deno Deploy. It is influenced by Koa (hence the anagram) and includes a middleware router inspired by @koa/router.
- As of today, express@latest has not received an update in two years
-
Newbie - How are cookies involved in CSRF attacks?
The cookie part is crucial, but the CORS really depends on the implementation on bank.com. When sending an AJAX request to another domain, browsers first send a pre-flight OPTION request, to check the CORS rules on the destination domain. Only if the CORS works out will the browser send the "real" request. If bank.com implements a proper OPTION endpoint on /transfer that doesn't start any transfers, but just returns the CORS headers, the "real" transfer won't be called. It payes off to be redundant with security, so having both of these is good. If you're using Koa, koa-router has allowed methods to easily expose an OPTIONS endpoint for all other existing endpoints.
What are some alternatives?
fastify - Fast and low overhead web framework, for Node.js
oak - A middleware framework for handling HTTP with Deno, Node, Bun and Cloudflare Workers πΏοΈ π¦
Express - Fast, unopinionated, minimalist web framework for node.
static - Static file server middleware
http-proxy - A full-featured http proxy for node.js
deno - A modern runtime for JavaScript and TypeScript.
request - ππΎ Simplified HTTP request client.
Nest - A progressive Node.js framework for building efficient, scalable, and enterprise-grade server-side applications with TypeScript/JavaScript π
Koa - Expressive middleware for node.js using ES2017 async functions
polka - A micro web server so fast, it'll make you dance! :dancers:
got - π Human-friendly and powerful HTTP request library for Node.js
gitbeaker - π¦π§ͺ A comprehensive and typed Gitlab SDK for Node.js, Browsers, Deno and CLI