0

I know I can just run the node executable to run node, but how I can write using the socket.io library without installing it?

1
  • 1
    What do you mean by installing it? It should be possible to manually link to the library without fetching via NPM, however you would have to include all it's dependencies manually. Commented Feb 26, 2014 at 3:11

1 Answer 1

1

If You are talking about npm, You can actually include the library manually. Also check for the required file which got to be included.

Sign up to request clarification or add additional context in comments.

1 Comment

So instead of require('socket.io') it'll just be require(path_to_socket.io.js)?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.