mini-svg-data-uri offers a lightweight and dependency-free utility for encoding SVG strings into data URIs. This package is designed for scenarios where embedding SVGs directly into CSS, HTML, or other environments as data URIs is preferable. Its small size makes it ideal for projects focused on minimizing bundle size. Efficient and simple to use, mini-svg-data-uri provides a concise solution for converting SVG content into readily usable data URIs. It avoids any external dependencies, ensuring its footprint remains minimal.
The mini-svg-data-uri npm package has had infrequent releases. Initial releases occurred between December 2017 and November 2018. Releases continued sporadically, roughly between one and two times per year, until March 2022. The latest version available is 1.4.4 released in March 2022. There have't been any releases since April 2022 to August 2025.
The npm package mini-svg-data-uri experienced substantial download growth from March 2024 to August 2025, peaking at over 13 million downloads. September 2025 shows significantly lower downloads so far, likely due to incomplete data for the month. Overall, the package demonstrates strong and increasing popularity.