From edb606222736c292c412a4373b88df91c18c50ac Mon Sep 17 00:00:00 2001 From: Ihtsham Shafiq Date: Mon, 27 Jan 2025 18:26:59 +1100 Subject: [PATCH] Add Bun glossary entry (#37814) * feat: add Bun glossary doc * fix: content changes * Update files/en-us/glossary/bun/index.md --------- Co-authored-by: Joshua Chen --- files/en-us/glossary/bun/index.md | 21 +++++++++++++++++++++ 1 file changed, 21 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..36dfd2c0b2875fd --- /dev/null +++ b/files/en-us/glossary/bun/index.md @@ -0,0 +1,21 @@ +--- +title: Bun +slug: Glossary/Bun +page-type: glossary-definition +--- + +{{GlossarySidebar}} + +**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: + +- 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. +- 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 + +- [Bun website](https://bun.sh/)