Files
bun.sh/docs
Claude Bot 681cd1a630 Update documentation and tools for new array format
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>
2026-01-07 03:13:22 +00:00
..
2025-11-10 17:38:48 -08:00

Logo

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.