npm-link-info
v0.2.1
Published
Get info about linked modules
Downloads
2
Readme
npm-link-info
Get info about linked modules
Installation
Install package with NPM :
npm install npm-link-info
You can install it directly from github:
npm install kevthunder/npm-link-info
methods
getLinked
get all the modules that were linked
Parameters
packageFile
(String) starting package.json, default to the package.json in PWDbaseFolder
(String) base forder for the current module, default to the disname ofpackageFile
checkDev
(Boolean) Whenever to check dev dependency or not, default totrue
Returns array of module names
isLinked
check if a module is linked
Parameters
depedency
(String) name of the module to testbaseFolder
(String) base forder for the current module, default to PWD
Returns a boolean