Accessing Plex Artwork with Node Plex API

I’m not sure if this is the place to ask this question but I’m having some difficulty with the node plex api github.com/phillipj/node-plex-api.
I’ve been trying to access and display artwork from an item in my plex library. The “art” and “thumb” tag in the plex MediaContainer object both return a buffer of, I assume, some kind of jpeg data. How do I display that data as an image?

Thanks!