On Fri, Oct 31, 2014 at 5:26 AM, Ryan Schmidt
<[email protected]> wrote:
> Is there a way to determine, by inspecting the node_modules directory in some 
> way or by running some npm command, what version of node built the modules 
> therein, especially the binary modules?

You might be able to see by running nm on the .node files, and seeing
some difference between 0.10 and 0.11, I haven't tried.

Indirectly, if you look at the package.json in deps, you can see an
_npmVersion, which might be considered to map to a particular node
version if you never change npm from that shipped. At least, from a
quick check I think that _npmVersion is for the installing npm, not
the publishing npm.

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/CACmrRmQLEqm83hogT6Yz-6FNeT61znwTYPROu2KZji4Nj7Xh3A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to