Английская Википедия:Bun (software)

Материал из Онлайн справочника
Перейти к навигацииПерейти к поиску

Шаблон:Short description Шаблон:Infobox software Шаблон:Portal Bun is a JavaScript runtime, package manager, test runner bundler built from scratch using the Zig programming language.[1] It was designed by Jarred Sumner as a drop-in replacement for Node.js. Bun uses JavaScriptCore as the JavaScript engine,[2] unlike Node.js and Deno, which both use V8.

It supports bundling, minifying, server-side rendering (SvelteKit, Nuxt.js, Vite). The technology in question offers robust support for several advanced web development practices and frameworks, notably bundling, minifying, and server-side rendering. Bundling refers to the process of combining multiple files and assets like JavaScript, CSS, and HTML into a single file, or a smaller number of files, to reduce the number of server requests and enhance performance. Minifying is the technique of compressing these files by removing unnecessary characters (like whitespace, comments, etc.) without affecting their functionality, further optimizing website loading times.

The runtime supports foreign function interface (FFI), SQLite3, TLS 1.3, and DNS resolution. It also comes bundled in with common tools like file editing, HTTP servers, Websocket, and hashing.[3]

See also

References

Шаблон:Reflist

External links

Шаблон:JavaScript


Шаблон:Programming-software-stub