Created
September 10, 2020 13:13
-
-
Save khanof89/65f177a5f6cfa995a950da86771ff233 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const Wappalyzer = require('wappalyzer'); | |
const urls = process.argv.slice(2); | |
(async function() { | |
const wappalyzer = await new Wappalyzer() | |
try { | |
await wappalyzer.init() | |
const results = await Promise.all( | |
urls.map(async (url) => ({ | |
url, | |
results: await wappalyzer.open(url).analyze() | |
})) | |
) | |
console.log(JSON.stringify(results, null, 2)) | |
} catch (error) { | |
console.error(error) | |
} | |
await wappalyzer.destroy() | |
})() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment