img-src-placeholder
Version:
Replace src=# in <img> tags with a data URL of a transparent 1 pixel image (CLI for package.json scripts)
10 lines (7 loc) • 219 B
JavaScript
Replace src=# in <img> tags with a data URL of a transparent 1 pixel image (CLI for package.json scripts)