const mql = require('@microlink/mql')
const html = async (url, opts) => {
const { data } = await mql(url, {
meta: false,
data: {
html: {
selector: 'html'
}
},
...opts
})
return data.html
}
const result = await html('https://example.com')
mql.render(result)