joyent/node — pull request #5245 by rvagg (2013-04-08 05:18:03+00:00)
Title: expose NODE_MODULE_VERSION in process.versions

Would be very helpful for determining appropriate versions of pre-compiled modules to use/download, in a post-install script for example.

Exposed as `process.versions.modules`

Leave as hex, e.g. `0x000B`, can be parsed easily with something like `parseInt(process.versions.modules || '0', 16)` if required.