Kikobeats / simple-wappalyzer

A simple, pre-cached, ready-to-use way to interact with Wappalyzer.
MIT License
25 stars 6 forks source link

simple-wappalyzer

Last version Coverage Status NPM Status

A simple, pre-cached, ready-to-use way to interact with Wappalyzer.

Although Wappalyzer has an official library, it performs network requests operations under the hood.

simple-wappalyzer get the same information, but all the necessary data is provided as parameters.

Install

$ npm install simple-wappalyzer --save

Usage

const wappalyzer = require('simple-wappalyzer')
const getHTML = require('html-get')

getHTML('https://kikobeats.com', { getBrowserless: require('browserless') })
  .then(({ url, html, statusCode, headers }) =>
    wappalyzer({ url, html, statusCode, headers })
  )
  .then(result => console.log(result))

// {
//   "urls": {
//     "https://kikobeats.com/": {
//       "status": 200
//     }
//   },
//   "applications": [
//     {
//       "name": "CloudFlare",
//       "confidence": "100",
//       "version": null,
//       "icon": "CloudFlare.svg",
//       "website": "http://www.cloudflare.com",
//       "cpe": null,
//       "categories": [
//         {
//           "31": "CDN"
//         }
//       ]
//     },
//     {
//       "name": "Google Analytics",
//       "confidence": "100",
//       "version": null,
//       "icon": "Google Analytics.svg",
//       "website": "http://google.com/analytics",
//       "cpe": null,
//       "categories": [
//         {
//           "10": "Analytics"
//         }
//       ]
//     },
//     {
//       "name": "Jekyll",
//       "confidence": "100",
//       "version": "v3.8.6",
//       "icon": "Jekyll.png",
//       "website": "http://jekyllrb.com",
//       "cpe": "cpe:/a:jekyllrb:jekyll",
//       "categories": [
//         {
//           "57": "Static site generator"
//         }
//       ]
//     },
//     {
//       "name": "Netlify",
//       "confidence": "100",
//       "version": null,
//       "icon": "Netlify.svg",
//       "website": "https://www.netlify.com/",
//       "cpe": null,
//       "categories": [
//         {
//           "62": "PaaS"
//         },
//         {
//           "31": "CDN"
//         }
//       ]
//     }
//   ],
//   "meta": {
//     "language": "en"
//   }
// }

License

simple-wappalyzer © Kiko Beats, released under the MIT License.
Authored and maintained by Kiko Beats with help from contributors.

kikobeats.com · GitHub Kiko Beats · X @Kikobeats