There is no generic “JavaScript runtime” interface that runtimes would implement, therefore support must be tailored to the specific interfaces of existing runtimes.
Deno and Bun have decent Node compatibility, so couldn't Node APIs be used as the generic runtime interface?