diff --git a/.gitignore b/.gitignore index 4e82153d7..fcd878f72 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,5 @@ drivers/**/icons/*.png !.gitkeep node_modules/* + +drivers/npm/node_modules/ \ No newline at end of file diff --git a/drivers/npm/.gitignore b/drivers/npm/.gitignore new file mode 100644 index 000000000..40b878db5 --- /dev/null +++ b/drivers/npm/.gitignore @@ -0,0 +1 @@ +node_modules/ \ No newline at end of file diff --git a/drivers/npm/README.md b/drivers/npm/README.md new file mode 100644 index 000000000..8aa96b834 --- /dev/null +++ b/drivers/npm/README.md @@ -0,0 +1,96 @@ +# Wappalyzer + +This is npm module for wappalyzer + + npm install wappalyzer + + + var wappalyzer = require("wappalyzer"); + + + var options={ + url : "http://codelanka.github.io/Presentation-Engines", + hostname:"codelanka.github.io", + debug:false + } + + wappalyzer.detectFromUrl(options,function (err,apps,appInfo) { + console.log(err,apps,appInfo); + }) + + +####Output + + + null [ 'AngularJS', + 'Font Awesome', + 'Google Font API', + 'jQuery', + 'Twitter Bootstrap' ] { AngularJS: + { app: 'AngularJS', + confidence: + { 'script //([\\d.]+(\\-?rc[.\\d]*)*)/angular(\\.min)?\\.js/i': 100, + 'script /angular.*\\.js/i': 100 }, + confidenceTotal: 100, + detected: true, + excludes: [], + version: '1.3.5', + versions: [ '1.3.5' ] }, + 'Font Awesome': + { app: 'Font Awesome', + confidence: { 'html /]* href=[^>]+font-awesome(?:\\.min)?\\.css/i': 100 }, + confidenceTotal: 100, + detected: true, + excludes: [], + version: '', + versions: [] }, + 'Google Font API': + { app: 'Google Font API', + confidence: { 'html /]* href=[^>]+fonts\\.(?:googleapis|google)\\.com/i': 100 }, + confidenceTotal: 100, + detected: true, + excludes: [], + version: '', + versions: [] }, + jQuery: + { app: 'jQuery', + confidence: { 'script /jquery.*\\.js/i': 100 }, + confidenceTotal: 100, + detected: true, + excludes: [], + version: '', + versions: [] }, + 'Twitter Bootstrap': + { app: 'Twitter Bootstrap', + confidence: + { 'script /(?:twitter\\.github\\.com/bootstrap|bootstrap(?:\\.js|\\.min\\.js))/i': 100, + 'html /