path-to-npm Get the path of npm according to the PATH environment variable Usage var npmLocation = require('path-to-npm')(); Contribution Sponsored by nearForm