| Path : /proc/self/root/opt/nvm/versions/node/v7.10.1/lib/node_modules/npm/lib/utils/ |
| Current File : //proc/self/root/opt/nvm/versions/node/v7.10.1/lib/node_modules/npm/lib/utils/child-path.js |
'use strict'
var path = require('path')
var validate = require('aproba')
var moduleName = require('../utils/module-name.js')
module.exports = childPath
function childPath (parentPath, child) {
validate('SO', arguments)
return path.join(parentPath, 'node_modules', moduleName(child))
}