bun
hattip
bun | hattip | |
---|---|---|
1 | 10 | |
77 | 1,182 | |
- | 2.6% | |
4.3 | 8.1 | |
10 months ago | about 20 hours ago | |
TypeScript | TypeScript | |
- | 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.
bun
hattip
-
Comparing Hattip vs. Express.js for modern app development
That is exactly what Hattip is all about!
- Hattip – An Express-compatible runtime for Cloudflare, Netflify, Vercel, etc.
-
React Server Components without any frameworks
Let's start up a new project and install these. We will use pnpm, as it is now the best and most loved choice. Also for quick setup, we will use Vite for the client side and HatTip for our backend handler for more convenient readable stream handling.
-
Choosing a backend API framework
HatTip - supports universal middleware and deployments, small & lightweight, seems promising
-
How is everyone working with web frameworks such as Express with TypeScript?
You'll probably like Hattip
-
FileKinds™ Proposal, rules for files and folders
To (optionally?) provide plugins on how a server should handle these files in a server framework like hattip
-
Using cookies
As we discussed before, Rakkas relies on HatTip for handling HTTP so we will use the @hattip/cookie package to manage cookies:
-
Creating a Twitter clone for Cloudflare Workers with Rakkas: Part 1
Then we should install the HatTip adapter for Cloudflare Workers. HatTip is a set of JavaScript libraries for building HTTP server applications that run on many platforms like Node.js, Cloudflare Workers, Vercel, Netlify, Deno, and more. Rakkas relies on it for serverless support.
-
Rakkas 0.6: Bleeding-edge React framework
Rakkas 0.6 is now built on HatTip, an HTTP server library that abstracts away the differences between various JavaScript runtimes building on the web standards like Request, Response, and streams. Rakkas already ran on Node, Vercel Serverless Functions, Netlify Functions, and Cloudflare Workers. HatTip integration adds support for Vercel Edge, and Netlify Edge. There's also preliminary support for Deno (including Deno Deploy). Bun support is work in progress.
-
Bun: Fast JavaScript runtime, transpiler, and NPM client written in Zig
HatTip[1] just added preliminary Bun support[2].
(HatTip's goal is to enable users (and library authors) to write universal server code that runs anywhere: Node.js, Edge, Deno, Bun, ...)
@Jarred: Curious to know what you think of HatTip!
[1]: https://github.com/hattipjs/hattip
What are some alternatives?
hyper-express - High performance Node.js webserver with a simple-to-use API powered by uWebsockets.js under the hood.
bun - A fast all-in-one JavaScript runtime [Moved to: https://github.com/oven-sh/bun]
ublog - A Twitter clone running on Cloudflare Workers
dum - An npm scripts runner written in Rust.
hono - Web Framework built on Web Standards
helmet - Help secure Express apps with various HTTP headers
hello-rsc - React Server Component capable SSR using Vite
oauth
prettier - Prettier is an opinionated code formatter.
prime-nestjs - A production-ready NestJS boilerplate using Typescript, Postgres, TypeORM, and Docker.
rakkasjs - Bleeding-edge React framework powered by Vite