D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
alt-nodejs12
/
root
/
usr
/
lib
/
node_modules
/
npm
/
lib
/
utils
/
Filename :
child-path.js
back
Copy
'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)) }