+ 17

How to include 3rd party modules in node.js code

Is there a way to include 3rd party modules that aren't built in to the new node js playground codes? These modules would typically be installed via npm, something like express or socket.io.

6th Aug 2020, 12:23 PM
Mike Perkowski
Mike Perkowski - avatar
6 odpowiedzi
+ 19
Good question... I have I actually wondered the same thing.
6th Aug 2020, 4:19 PM
toto
toto - avatar
+ 8
I could only managed to check for version of node and npm. https://code.sololearn.com/chY801KgiMGT/?ref=app I tried to installed git so that i can git clone repo later, but i get timeout with 'npm i git' command
7th Aug 2020, 6:22 AM
Calviղ
Calviղ - avatar
7th Aug 2020, 11:17 AM
Calviղ
Calviղ - avatar
+ 1
Yeah, too much time to execute. SoloLearn backend (node, python, java....) programs are launched on Azure cloud pods and are alive only 1s https://code.sololearn.com/c27jjusIDMqf/?ref=app https://code.sololearn.com/ci8W7CLlPZ4h/?ref=app
30th Jan 2021, 4:26 PM
David Ordás
David Ordás - avatar