Skip to content

Instantly share code, notes, and snippets.

@khanof89
Created September 10, 2020 13:13
Show Gist options
  • Save khanof89/65f177a5f6cfa995a950da86771ff233 to your computer and use it in GitHub Desktop.
Save khanof89/65f177a5f6cfa995a950da86771ff233 to your computer and use it in GitHub Desktop.
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