Can we run Node.js on a Serverless Worker?
According to the Serverless Overview doc page (https://docs.runpod.io/serverless/workers/overview), we can write functions in the language you're most comfortable with.
There's a Runpod SDK on NPM (https://www.npmjs.com/package/runpod-sdk), but that looks like it's meant to call existing endpoints, not to create handler functions.
Is this possible? If so, are there any templates available to create the handler function in Node.js?
1 Reply
Hello, I'm also very interested in creating a Node.js handler function.
The Runpod documentation is really ambiguous on this subject. For the moment, the only possible solution seems to be to execute a Node.js script via the Python handler function, or to start a Node.js server and request it in Python.
So "RunPod SDK supports various programming languages, allowing you to write functions in the language you're most comfortable with." seems misleading to me.
@EMPZ if it can help you, I get an email response from RunPod team: "It is correct that at the moment we only support python, I'll ask the documentation team to correct this information"