insights
Type:
Default: false
<boolean> | <object>
Default: false
It gets a web performance metrics of the target url.
- CLI
- JavaScript
- Shell
- Python
- Ruby
const mql = require('@microlink/mql')
const { status, data } = await mql('https://vercel.com', { insights: true })
mql.render(data)
When is presnet, a new
insights
data field will be returned. These field contain two subfields:technologies
: A list of technologies identified powered byWappalyzer.lighthouse
: A full web audit report powered byLighthouse.
By default, both subfield are enabled. You can disable them individually to speed up the response time:
- CLI
- JavaScript
- Shell
- Python
- Ruby
const mql = require('@microlink/mql')
const { status, data } = await mql('https://vercel.com', { insights: {lighthouse: true, technologies: false} })
mql.render(data)