How to use the wappalyzer.run function in wappalyzer

To help you get started, we’ve selected a few wappalyzer examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github hunter-io / docker-wappalyzer-api / server.js View on Github external
app.post('/extract', function(req, res) {
      var url = req.body.url;

      console.log(`Extracting technologies for ${url}`);

      if (validUrl.isUri(url)) {
        wappalyzer.run([url, '--quiet'], function(stdout, stderr) {
          if(stderr) {
            res.status(400).send(stderr);
          }
          else if(stdout) {
            res.send(stdout);
          }
        });
      } else {
        res.status(422).end();
      }
    });

wappalyzer

This package is no longer being maintained. Please use the API at [wappalyzer.com/api](https://www.wappalyzer.com/api/) instead.

GPL-3.0
Latest version published 1 year ago

Package Health Score

59 / 100
Full package analysis