Update in 2025: You can now use
import { env } from "cloudflare:workers";
See Import `env` to access bindings in your Worker's global scope