get-image is a simple module that creates a preloaded
<img> for a given src.
$ npm install get-image
note: canvas is not installed alongside get-image
get-image requires automattic/node-canvas for its server/node variant, however, to avoid browser-only users from having to endure the native compilation process, it needs to be npm installed separately.
Browser & Server
var image =