Where can I find more information about the JS VM used in Nakama

I am running into issues when importing some external npm packages in the typescript runtime, for example:

I’m not sure if it’s possible to polyfill my way out of these errors, but it would help to know what the differences between the VM nakama uses and NodeJS/V8 are in terms of features / API.

Is this documented somewhere?

1 Like

Hello @au-re. Currently, the VM relies on Goja VM which at the moment only supports ES5. The details can be found here: Basics - Heroic Labs Documentation

Additionally, is there any usecase that http request(Function Reference - Heroic Labs Documentation) from Nakama doesn’t support? Could you elaborate on the motivation to use node-fetch, axios, or superagent?