dependency-hunter
Advanced tools
Comparing version 1.5.0 to 2.0.0
@@ -172,3 +172,3 @@ #!/usr/bin/env node | ||
console.log([ | ||
'Usage: dependency-hunter [username] [command] [options?]', | ||
'Usage: dependency-hunter [command] [username/organization] [options?]', | ||
'', | ||
@@ -182,6 +182,6 @@ 'Avaible commands are:', | ||
'Examples:', | ||
' github update Updates the data for the github organization', | ||
' github list Lists all of githubs repositories (that is a node project)', | ||
' github find express Find the repositories that has express as a dependency/devDependency', | ||
' github find -express Find the repositories that doesn\'t use express' | ||
' update github Updates the data for the organization github', | ||
' list github Lists all of githubs repositories (that is a node project)', | ||
' find github express Find the repositories that has express as a dependency/devDependency', | ||
' find github -express Find the repositories that doesn\'t use express' | ||
].join('\n')); | ||
@@ -211,4 +211,4 @@ }; | ||
var organization = process.argv[2]; | ||
var command = (process.argv[3] || '').toLowerCase(); | ||
var command = (process.argv[2] || '').toLowerCase(); | ||
var organization = process.argv[3]; | ||
var moduleName = process.argv[4]; | ||
@@ -215,0 +215,0 @@ |
{ | ||
"name": "dependency-hunter", | ||
"version": "1.5.0", | ||
"version": "2.0.0", | ||
"description": "Find node.js dependencies in github repositories. Goes through package.json in each repository so you can easily find dependencies and devDependencies", | ||
@@ -25,3 +25,3 @@ "keywords": [ | ||
}, | ||
"repository": "git@github.com:freeall/dependency-hunter.git", | ||
"repository": "git@github.com:e-conomic/dependency-hunter.git", | ||
"dependencies": { | ||
@@ -28,0 +28,0 @@ "after-all": "^2.0.0", |
# dependency-hunter | ||
Find node.js dependencies in github repositories. Goes through `package.json` in each repository so you can easily find dependencies and devDependencies in each repository. | ||
Find module dependencies in github repositories. | ||
Works both for users and organizations. | ||
It's a good tool to use if you need to update/deprecate a module and want to find out who uses it first. Great for a large organization. | ||
If I wanted to find out how many of my own repositories that uses `request` I would run | ||
Goes through `package.json` in each repository so you can easily find dependencies and devDependencies in each repository. Works both for users and organizations. | ||
If I wanted to find out how many of my own repositories that uses `request` I would run: | ||
``` | ||
$ depency-hunter freeall find request | ||
$ depency-hunter find freeall request | ||
``` | ||
Which would return | ||
Which would return: | ||
@@ -40,7 +42,7 @@ ``` | ||
`dependency-hunter myuser update` | ||
`dependency-hunter update myuser` | ||
After it has run you can now search for modules. To find out which repositories uses the `request` module do this: | ||
`dependency-hunter myuser find request` | ||
`dependency-hunter find myuser request` | ||
@@ -47,0 +49,0 @@ ## License |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
8316
50