You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nurbek
6ddec07af4
|
3 years ago | |
---|---|---|
.. | ||
drivers | 3 years ago | |
README.md | ||
package.json | 3 years ago | |
technologies-all.json | 3 years ago | |
technologies.json | 3 years ago | |
wappalyzer.js |
README.md
Wappalyzer core
Wappalyzer indentifies technologies on websites.
Installation
$ npm i wappalyzer-core
Usage
#!/usr/bin/env node
const fs = require('fs')
const Wappalyzer = require('./wappalyzer')
// See https://www.wappalyzer.com/docs/dev/specification or use
// https://raw.githubusercontent.com/AliasIO/wappalyzer/master/src/technologies.json
const { technologies, categories } = JSON.parse(
fs.readFileSync('./technologies.json')
)
Wappalyzer.setTechnologies(technologies)
Wappalyzer.setCategories(categories)
Wappalyzer.analyze({
url: 'https://example.github.io/',
meta: { generator: ['WordPress'] },
headers: { server: ['Nginx'] },
scripts: ['jquery-3.0.0.js'],
cookies: { awselb: [''] },
html: '<div ng-app="">'
}).then((detections) => {
const results = Wappalyzer.resolve(detections)
console.log(results)
})