Too Long; Didn't Read
In this article, we will see how to generate dynamic open graph images. We'll be using these npm packages to generate an OG image. We need a function that takes a screenshot of our content and passes it as a response. This can be achieved as follows: getChalk, getCss, getPage, getPfPage and chrome from 'puppeteer-core' The final output will be an image of an open graph image or OG image. We'll see how our output looks like.