hattip
bun
Our great sponsors
hattip | bun | |
---|---|---|
9 | 15 | |
1,162 | 28,868 | |
4.5% | - | |
8.1 | 10.0 | |
5 days ago | almost 2 years ago | |
TypeScript | Zig | |
MIT License | MIT |
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
bun
-
10 Trending Github repositories / August, 31 2022
git clone https://github.com/Jarred-Sumner/bun.git
-
Install Bun for Windows: A Modern JavaScript Runtime Like Node or Deno
error: unzip is required to install Bun (see: https://github.com/Jarred-Sumner/bun#unzip-is-required
-
Is Bun, a Node, and Deno Killer?
the first ops/s is also very much not covering a real example, you can't make sqlite faster then it is there is a limit on how fast you can make this. So first off both use the same C library below it (sqlite3) and that is doing the heavy lifting, then you go further and think about the JS part, where it even says in their source code https://github.com/Jarred-Sumner/bun/blob/e4fb84275715bb4de4b541f6de0ede4b5ce3e10a/src/bun.js/bindings/sqlite/sqlite.exports.js that it uses the same code as sqlite for transactions.
- Vote For Bun JS Runtime (Default Windows)
- GitHub – Jarred-Sumner/bun: fast JavaScript runtime,, ca and package manager
- Bun - Ya esta aqui.
- bun has entered public beta. Download today!
- Bun: Fast JavaScript runtime, bundler, transpiler and package manager
-
Bun: Fast JavaScript runtime, transpiler, and NPM client written in Zig
> This part, very early on in the Bun page, stood out. That’s a monetizable product, even if the code is open source.
bun isn't open source, it is source available at this point: https://github.com/Jarred-Sumner/bun/issues/241
What are some alternatives?
ublog - A Twitter clone running on Cloudflare Workers
ts2c - Convert Javascript/TypeScript to C
hono - Web Framework built on Web Standards
zig-tflite - Zig binding for TensorFlow Lite
helmet - Help secure Express apps with various HTTP headers
hyper-express - High performance Node.js webserver with a simple-to-use API powered by uWebsockets.js under the hood.
hello-rsc - React Server Component capable SSR using Vite
redis-rope - 🪢 A fast native data type for manipulating large strings in Redis
oauth
bun - Bun JS app doing basically nothing
prettier - Prettier is an opinionated code formatter.
yazap - 🔧 The ultimate Zig library for seamless command line parsing. Effortlessly handles options, subcommands, and custom arguments with ease.