How can I include a package like socket.io in node.exe(windows)?
I tried this but it doesn’t work:
var socketio = require("./socketio/socket.io")
While my package.json file is stored in a folder called socketio where is in same folder as node.exe is located.
I bundled socket.io via npm inside node_modules. You can download the zip(extract it first) and just use it thanks to node_modules.
You don’t want to use NPM, but you do have a
package.json(strange)? My advice would be to just install it via NPM. That’s what package managers are for!