![]() Exposes Bun.Transpiler-Bun's JSX & TypeScript transpiler-as an API.Supports "paths", "jsxImportSource" and more from tsconfig.json files.Transpiles every file, so TypeScript and JSX just work.Both ESM and CommonJS are supported internally Bun uses ESM. Implements Node's node_modules resolution algorithm, so you can use npm packages in Bun.Implements Web APIs like fetch WebSocket and ReadableStream.The goal of Bun is to run most of the world's JavaScript outside of browsers, bringing performance and complexity enhancements to your future infrastructure, as well as developer productivity through better, simpler tooling. Bun natively implements hundreds of Node.js and Web APIs, including ~90% of Node-API functions (native modules), fs, path, Buffer and more. Use it to run your current JavaScript & TypeScript apps or scripts - on your local computer, server or on the edge. Bun is a complete toolkit for building JavaScript apps, including a bundler, transpiler, and package manager.īun is designed as a drop-in replacement for Node.js. Bun extends JavaScriptCore, the performance-minded JS engine built for Safari. This is more important than ever as edge computing environments make cold start times more important than ever. Bun is a new JavaScript runtime built from scratch to serve the modern JavaScript ecosystem, with three major design goals:
0 Comments
Leave a Reply. |