• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1'use strict'
2var path = require('path')
3var validate = require('aproba')
4var moduleName = require('../utils/module-name.js')
5
6module.exports = childPath
7function childPath (parentPath, child) {
8  validate('SO', arguments)
9  return path.join(parentPath, 'node_modules', moduleName(child))
10}
11