dimanche 1 mars 2015

node.js how to get a version of a dependency in run-time particularly for socket.io

I have a node app using socket io. I need to get actual version of socket.io to load client script from cdn. How can I get this version?


require('socket.io).version does not work.


Aucun commentaire:

Enregistrer un commentaire