node-prefix
Refer to nodejs configuration prefix and global module install path
Installation
$ npm install node-prefix
Example
var config = var nodePrefix = configprefix// '/usr/local/lib' var globalModulePath = config// '/usr/local/lib/node_modules/moduleName'
License
The MIT License (MIT)
Copyright (c) 2014 Masaaki Morishita