wappalyzer-wrapper
Convenience wrapper around wappalyzer library
Last updated 18 days ago by woorank-ci .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install wappalyzer-wrapper 
SYNC missed versions from official npm registry.

wappalyzer-wrapper

Convenience wrapper around wappalyzer library.

Example:

const wappalyzerWrapper = require('wappalyzer-wrapper');

await wappalyzerWrapper.analyze({ html, scripts, headers, js });

// [ 
//   { app: 'Google Analytics',
//     version: 'UA',
//     id: 'google-analytics',
//     categories: [ 'analytics' ] },
//   { app: 'jQuery',
//     version: '',
//     id: 'jquery',
//     categories: [ 'javascript-frameworks' ] } 
// ]

API

Analyze html, scripts, headers and js for detecting used technologies.

const wappalyzerWrapper = require('wappalyzer-wrapper');

const html = `
  <!DOCTYPE HTML>
  <html>
    <head>
    </head>
    <body>
    <!-- Google Tag Manager -->
      <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-KAAOEOE"
      height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
    <!-- End Google Tag Manager -->
    </body>
  </html>
`;

const scripts = [
  'http://www.google-analytics.com/analytics.js',
  'http://example.com/assets/js/jquery.min.js'
];

const headers = {
  'date': [ 'Thu, 01 Feb 2018 11:34:18 GMT' ],
  'connection': [ 'keep-alive' ],
  'x-powered-by': [ 'Express' ],
  'content-length': [ '293' ],
  'content-type': [ 'text/html; charset=utf-8' ]
};

const js = {
  'momentjs': { 'moment': { '0': true } },
  'google-font-api': { 'WebFonts': { '0': true } }
};

const dnsTxtRecords = [
  [ 'facebook-domain-verification=abc123' ],
  [ 'google-site-verification=xyz456' ],
  [ 'spf2.0/pra include:spf.recurly.com include:amazonses.com ~all' ],
  [ 'v=spf1 include:spf.mailjet.com include:spf.recurly.com include:amazonses.com include:spf.mandrillapp.com include:servers.mcsv.net ~all' ]
];

const technologies = await wappalyzerWrapper.analyze({ html, scripts, headers, js, dnsTxtRecords });

Wappalyzer apps list curated with consistent syntax id's.

const wappalyzerWrapper = require('wappalyzer-wrapper');
const apps = wappalyzerWrapper.apps;

Wappalyzer categories list curated with consistent syntax id's.

const wappalyzerWrapper = require('wappalyzer-wrapper');
const categories = wappalyzerWrapper.categories;

Wappalyzer jsPatterns.

const wappalyzerWrapper = require('wappalyzer-wrapper');
const jsPatterns = wappalyzerWrapper.jsPatterns;

Wappalyzer apps list curated with consistent syntax id's in CSV format in the command line.

npm run apps

Wappalyzer categories list curated with consistent syntax id's in CSV format in the command line.

npm run categories

Debugging

npm run debug-test
  1. Add debugger; statement anywhere in the code to stop the execution.
  2. Type chrome://inspect/#devices in your chrome browser.
  3. Click on the remote target to start the debugging console from devtools.

Optimize icons

npm run optimize-icons

Current Tags

  • 3.3.2                                ...           latest (18 days ago)

22 Versions

  • 3.3.2                                ...           18 days ago
  • 3.3.1                                ...           a month ago
  • 3.3.0                                ...           a month ago
  • 3.2.1                                ...           5 months ago
  • 3.2.0                                ...           a year ago
  • 3.1.8                                ...           a year ago
  • 3.1.7                                ...           a year ago
  • 3.1.6                                ...           a year ago
  • 3.1.5                                ...           a year ago
  • 3.1.4                                ...           2 years ago
  • 3.1.3                                ...           2 years ago
  • 3.1.2                                ...           2 years ago
  • 3.1.1                                ...           2 years ago
  • 3.1.0                                ...           2 years ago
  • 3.0.4                                ...           2 years ago
  • 3.0.3                                ...           2 years ago
  • 3.0.2                                ...           2 years ago
  • 3.0.1                                ...           2 years ago
  • 3.0.0                                ...           2 years ago
  • 2.0.3                                ...           2 years ago
  • 2.0.2                                ...           2 years ago
  • 2.0.0                                ...           2 years ago
Downloads
Today 0
This Week 0
This Month 41
Last Day 0
Last Week 2
Last Month 40
Dependencies (1)
Dev Dependencies (7)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |