Files
bun.sh/docs
Claude Bot 4a4edae9ad Add NODE_OPTIONS environment variable support
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>
2025-10-29 09:59:04 +00:00
..
2025-07-10 00:10:43 -07:00
2025-10-09 23:37:10 -07:00
2025-10-09 23:28:03 -07:00
2023-09-07 10:09:09 -07:00
2023-02-23 17:13:30 -08:00
2025-07-10 00:10:43 -07:00
2025-09-26 03:06:18 -07:00