Call a function synchronously in a specific Node version. Installs the version if not already present.
Version spec ('v18.0.0', '>=18', '20')
Path to the file to execute
Optional
Execution options
Arguments to pass to the worker
The result from the worker. Throws on error.
Call a function synchronously in a specific Node version. Installs the version if not already present.