tigt / mini-svg-data-uri

Small, efficient encoding of SVG data URIs for CSS, HTML, etc.
https://npm.runkit.com/mini-svg-data-uri
MIT License
309 stars 16 forks source link

Incorrect function name referenced in example? #12

Closed jonnystening closed 5 years ago

jonnystening commented 5 years ago

svgToMiniDataURI() in README.md example vs svgToTinyDataUri() exported in code

tigt commented 5 years ago

Oh, good catch. It’s the default export so the name doesn’t matter as far as I know. Is it giving you problems?

jonnystening commented 5 years ago

It’s all good. Just mentioning it for consistency. Is it tiny or mini? Big decisions 🤣

tigt commented 5 years ago

As you might have sussed out, I waffled between the two before publishing.

Now I realize this will drop in popularity as soon as somebody grabs the nano-svg-data-uri package name.