import mql from '@microlink/mql' const { data } = await mql('https://blog.alexmaccaw.com/advice-to-my-younger-self', { pdf: true, mediaType: "screen" })
mediaType
Type: <string>
Default: 'screen'
Values:
Default: 'screen'
Values:
'screen' | 'print'
It sets the CSS media type into the browser page over the target url.
Normally you will combine this query parameter with screenshot or pdf. If you are using pdf, the default media type will be
'print'
.