This adds support for the NODE_OPTIONS environment variable, which works
as a fallback to BUN_OPTIONS. This improves Node.js compatibility by
allowing users and tools to set command-line options via NODE_OPTIONS,
which is a standard Node.js feature.
Implementation:
- Added NODE_OPTIONS to src/env_var.zig
- Updated src/bun.zig to check BUN_OPTIONS first, then fall back to
NODE_OPTIONS using the orelse operator
- BUN_OPTIONS takes precedence when both are set
- Added comprehensive tests for NODE_OPTIONS behavior
- Updated documentation to explain the relationship between the two
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>