README
slowreveal
✏️ Animate SVG line drawings.
Install
$ npm install slowreveal
<script type="module" src="https://unpkg.com/slowreveal@1.2.1/index.js"></script>
<script>
import slowreveal from 'https://unpkg.com/slowreveal@1.2.1/index.js';
</script>
Usage
import slowreveal from 'slowreveal';
document
.querySelectorAll("object[type='image/svg+xml']")
.forEach(svgObject => slowreveal(svgObject, { speed: 20 }));