Bun 是個擁有極大範圍的專案,目前仍處於早期階段。長期而言,Bun 旨在提供一套多合一工具組,以取代現今常見的複雜且分散的工具鏈:Node.js、Jest、Webpack、esbuild、Babel、yarn、PostCSS 等。
請參閱 GitHub 上的 Bun 路線圖,以進一步了解該專案的長期計畫和優先事項。
簡介
Bun 是什麼?
安裝
快速入門
TypeScript
範本
bun init
bun create
執行時間
bun run
File types
TypeScript
JSX
Environment variables
Bun APIs
Web APIs
Node.js compatibility
Single-file executable
Plugins
Watch mode
Module resolution
Auto-install
bunfig.toml
Debugger
架構 API即將推出
套件管理員
bun install
bun add
bun remove
bun update
bun link
bun pm
Global cache
Workspaces
Lifecycle scripts
Filter
Lockfile
Scopes and registries
Overrides and resolutions
打包器
Bun.build
載入器
外掛程式
巨集
vs esbuild
測試
bun test
Writing tests
Watch mode
Lifecycle hooks
Mocks
Snapshots
Dates and times
DOM testing
Code coverage
套件執行器
bunx
API
HTTP server
WebSockets
Workers
Binary data
Streams
File I/O
import.meta
SQLite
FileSystemRouter
TCP sockets
TCP sockets
Globals
$ Shell
Child processes
Transpiler
Hashing
Console
FFI
HTMLRewriter
Testing
Utils
Node-API
Glob
Semver
專案
路線圖
效能基準
貢獻
建立 Windows
授權
搜尋文件...
/
簡介
Bun 是什麼?
安裝
快速入門
TypeScript
範本
bun init
bun create
執行時間
bun run
File types
TypeScript
JSX
Environment variables
Bun APIs
Web APIs
Node.js compatibility
Single-file executable
Plugins
Watch mode
Module resolution
Auto-install
bunfig.toml
Debugger
架構 API即將推出
套件管理員
bun install
bun add
bun remove
bun update
bun link
bun pm
Global cache
Workspaces
Lifecycle scripts
Filter
Lockfile
Scopes and registries
Overrides and resolutions
打包器
Bun.build
載入器
外掛程式
巨集
相較於 esbuild
測試
bun test
Writing tests
Watch mode
Lifecycle hooks
Mocks
Snapshots
Dates and times
DOM testing
Code coverage
套件執行器
bunx
API
HTTP server
WebSockets
Workers
Binary data
Streams
File I/O
import.meta
SQLite
FileSystemRouter
TCP sockets
TCP sockets
Globals
$ Shell
Child processes
Transpiler
Hashing
Console
FFI
HTMLRewriter
Testing
Utils
Node-API
Glob
Semver
專案
路線圖
基準測試
貢獻
建立 Windows
授權
Bun 是個擁有極大範圍的專案,目前仍處於早期階段。長期而言,Bun 旨在提供一套多合一工具組,以取代現今常見的複雜且分散的工具鏈:Node.js、Jest、Webpack、esbuild、Babel、yarn、PostCSS 等。
請參閱 GitHub 上的 Bun 路線圖,以進一步了解該專案的長期計畫和優先事項。