We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26a3ede commit 026b55bCopy full SHA for 026b55b
index.js
@@ -0,0 +1,7 @@
1
+module.exports = function(srcDir){ console.log(srcDir);
2
+
3
+ var crawlComplexity = require('./utils/crawl-complexity');
4
5
+ crawlComplexity(srcDir, function(report){ console.log(report) });
6
7
+}
package.json
@@ -1,6 +1,6 @@
{
"name": "jscomplexity",
- "version": "0.0.6",
+ "version": "0.0.7",
"preferGlobal" : "true",
"bin": {
"jscr": "generate-report.js"
sample.js
@@ -0,0 +1,3 @@
+var jscr = require('./index');
+jscr('./utils');
0 commit comments