blob: 4594f43221ff62ef81346f8a175c906f7a10467c (
plain)
1
2
3
4
5
6
7
8
9
10
|
'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))
}
|