FWIW, almost this exact syntax for imports (without the `npm:` prefix) is supported for standalone scripts with Bun.

Bun is not an alternative, it was also acquihired and will probably become an internal project of Anthropic for claude code.