fallback-image
Load a fallback image if an image errors out.
Installation
$ npm install fallback-image
Usage
; let imageEl = document;;
Standalone
Generate a standalone build in dist
(for use with <script>
tags and AMD module loaders):
$ npm run build:standalone
Test
Tests are done with tape by running:
$ npm test