From 06c56aa1439873f633693679006e6eb70c055608 Mon Sep 17 00:00:00 2001 From: Ihtsham Shafiq Date: Mon, 27 Jan 2025 11:51:39 +1100 Subject: [PATCH 1/3] feat: add Bun glossary doc --- files/en-us/glossary/bun/index.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 files/en-us/glossary/bun/index.md diff --git a/files/en-us/glossary/bun/index.md b/files/en-us/glossary/bun/index.md new file mode 100644 index 000000000000000..86d0f18bdd8559b --- /dev/null +++ b/files/en-us/glossary/bun/index.md @@ -0,0 +1,20 @@ +--- +title: Bun +slug: Glossary/Bun +page-type: glossary-definition +--- + +{{GlossarySidebar}} + +**Bun** is a fast, modern {{Glossary("JavaScript")}} runtime environment designed to prioritize performance and developer tooling. It supports {{Glossary("TypeScript")}}, and JSX out of the box. + +Unlike [Node.js](https://nodejs.org/) and [Deno](https://deno.com/), Bun is built on Apple's [JavaScriptCore](https://trac.webkit.org/wiki/JavaScriptCore). Notable features of Bun include: + +- Extremely fast JavaScript and TypeScript execution. +- Native support for modern JavaScript features like JSX and ES modules. +- Global cache for managing package installations to minimize disk usage. +- Built-in bundler, transpiler, [Jest](https://jestjs.io/) compatible test-runner and package manager. + +## See also + +- [Bun website](https://bun.sh/) From 9a65bfb53f6bb3d25e78034a458700a5757943fc Mon Sep 17 00:00:00 2001 From: Ihtsham Shafiq Date: Mon, 27 Jan 2025 02:02:25 +0000 Subject: [PATCH 2/3] fix: content changes --- files/en-us/glossary/bun/index.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/files/en-us/glossary/bun/index.md b/files/en-us/glossary/bun/index.md index 86d0f18bdd8559b..691f4122706eacf 100644 --- a/files/en-us/glossary/bun/index.md +++ b/files/en-us/glossary/bun/index.md @@ -6,14 +6,14 @@ page-type: glossary-definition {{GlossarySidebar}} -**Bun** is a fast, modern {{Glossary("JavaScript")}} runtime environment designed to prioritize performance and developer tooling. It supports {{Glossary("TypeScript")}}, and JSX out of the box. +**Bun** is a fast and modern {{Glossary("JavaScript")}} runtime environment designed to prioritize performance and developer tooling. Unlike [Node.js](https://nodejs.org/) and [Deno](https://deno.com/), Bun is built on Apple's [JavaScriptCore](https://trac.webkit.org/wiki/JavaScriptCore). Notable features of Bun include: -- Extremely fast JavaScript and TypeScript execution. -- Native support for modern JavaScript features like JSX and ES modules. +- State-of-the-art JavaScript execution speed in most real-world scenarios. +- Native support for JavaScript syntax extensions like JSX and TypeScript. - Global cache for managing package installations to minimize disk usage. -- Built-in bundler, transpiler, [Jest](https://jestjs.io/) compatible test-runner and package manager. +- Built-in bundler, transpiler, [Jest](https://jestjs.io/) compatible test-runner, package manager, and more built-in utilities that web developers may find useful. ## See also From 0b55527d10e2274198645996b9a7f9c7d078e8ab Mon Sep 17 00:00:00 2001 From: Joshua Chen Date: Mon, 27 Jan 2025 02:23:01 -0500 Subject: [PATCH 3/3] Update files/en-us/glossary/bun/index.md --- files/en-us/glossary/bun/index.md | 1 + 1 file changed, 1 insertion(+) diff --git a/files/en-us/glossary/bun/index.md b/files/en-us/glossary/bun/index.md index 691f4122706eacf..36dfd2c0b2875fd 100644 --- a/files/en-us/glossary/bun/index.md +++ b/files/en-us/glossary/bun/index.md @@ -10,6 +10,7 @@ page-type: glossary-definition Unlike [Node.js](https://nodejs.org/) and [Deno](https://deno.com/), Bun is built on Apple's [JavaScriptCore](https://trac.webkit.org/wiki/JavaScriptCore). Notable features of Bun include: +- Drop-in Node.js replacement: almost all Node.js programs can run using Bun-equivalent commands. - State-of-the-art JavaScript execution speed in most real-world scenarios. - Native support for JavaScript syntax extensions like JSX and TypeScript. - Global cache for managing package installations to minimize disk usage.