mirror of
https://github.com/oven-sh/bun
synced 2026-02-10 19:08:50 +00:00
Updated all documentation and examples to reflect the new compact array trace format. Changes: - docs/cli/trace.md: Updated format documentation with array structure - Added "Why Array Format?" section explaining benefits - Updated all jq examples for array indexing - Updated example trace output - examples/trace-analysis.js: Updated to parse array format - Changed e.ns to e[0], e.ts to e[1], e.data.call to e[2], e.data.* to e[3].* - Tested and working correctly with new format All trace filtering examples now use array indexing: - select(.[0] == "fs") instead of select(.ns == "fs") - .[2] for operation names instead of .data.call - .[3].path for data fields instead of .data.path 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Bun Documentation
Official documentation for Bun: the fast, all-in-one JavaScript runtime.
Development
Install the Mintlify CLI to preview the documentation locally:
bun install -g mint
Run the development server:
mint dev
The site will be available at http://localhost:3000.
Contributing
Contributions are welcome! Please open an issue or submit a pull request.