I'm trying to set up an SSH connection to an external server, and have found the SSH2 NPM package (https://www.npmjs.com/package/ssh2). However, this package has several requirements of its own, and by itself uses a directory structure for this. I've tried uploading a directory structure to the cloud code modules, but this doesn't seem to be supported.
Is there a way/workflow to use NPM packages from Cloud Code?
(maybe some packages are pre-installed in GameSparks itself?)
You are not able to use NodeJS NPM modules from Cloud Code.
If you would like to utilize NodeJS functionality, I suggest setting up an intermediary NodeJS server with our SDK to act as a bridge between our servers and your own external server.
Will there be support in the future for npm modules?