Hello Bun!


Bun... chi esser tuuu?
Bun è un runtime JavaScript


Bun è un runtime JavaScript

Server-side rendering React
Bun è un PACKAGE MANAGER


Bun è un PACKAGE MANAGER

Installing dependencies from cache for a Remix app.
Bun è un Bundler

Bun è un TEST Runner


Bun è un TEST Runner

Running the test suite for Zod
Bun is an all-in-one toolkit

Bun's superpowers
-
Speed
Bun processes start 4x faster than Node.js currently
-
TypeScript & JSX support
You can directly execute.jsx,.ts, and.tsxfiles. Bun's transpiler converts these to vanilla JavaScript before execution
Bun's superpowers
-
ESM & CommonJS compatibility
Bun's superpowers
-
Web-standard APIs
Bun implements standard Web APIs likefetch,WebSocket, andReadableStream. Leveraging JavaScriptCore engine, developed by Apple for Safari, so some APIs likeHeadersandURLdirectly use Safari's implementation.
-
Node.js compatibility. In addition to supporting Node-style module resolution, Bun aims for full compatibility with built-in Node.js globals (
process,Buffer) and modules (path,fs,http, etc.)
This is an ongoing effort that is not complete
Bun's so faaast...



Bun è scritto in zig


Bun
By Quirico Tursi
Bun
- 65