hattip
dum
Our great sponsors
hattip | dum | |
---|---|---|
9 | 8 | |
1,162 | 1,504 | |
4.5% | - | |
8.1 | 0.0 | |
5 days ago | 7 months ago | |
TypeScript | Rust | |
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.
hattip
- 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
dum
-
Bun: Fast JavaScript runtime, transpiler, and NPM client written in Zig
Mildly related: dum - https://github.com/egoist/dum
> dum replaces npm run and npx.
> Instead of waiting 200ms for your npm client to start, it will start immediately.
- Dum - An npm scripts runner written in Rust.
- GitHub - egoist/dum: An npm scripts runner written in Rust.
- Dum: An NPM scripts runner written in Rust
- Dum! An npm scripts runner written in Rust
- Show HN: Dum An NPM scripts runner written in Rust
What are some alternatives?
bun - A fast all-in-one JavaScript runtime [Moved to: https://github.com/oven-sh/bun]
ublog - A Twitter clone running on Cloudflare Workers
lefthook - Fast and powerful Git hooks manager for any type of projects.
hono - Web Framework built on Web Standards
hn-search - Hacker News Search
helmet - Help secure Express apps with various HTTP headers
bun - Bun JS app doing basically nothing
hello-rsc - React Server Component capable SSR using Vite
dotenv - A Ruby gem to load environment variables from `.env`.
oauth
hyper-express - High performance Node.js webserver with a simple-to-use API powered by uWebsockets.js under the hood.