axe312ger / sqip

"SQIP" (pronounced \skwɪb\ like the non-magical folk of magical descent) is a SVG-based LQIP technique.
http://axe312ger.github.io/sqip
The Unlicense
3.37k stars 82 forks source link

feat: add triangle plugin and extend metadata #341

Closed axe312ger closed 6 months ago

axe312ger commented 6 months ago

adds triangle plugin

which is much faster than primitive :)even though it seems to have issues with data piped directly into via nodejs...

also extends metadata to contain filename + mimetype

closes #181

codecov-commenter commented 6 months ago

Codecov Report

Attention: Patch coverage is 95.77465% with 3 lines in your changes are missing coverage. Please review.

Project coverage is 87.27%. Comparing base (84bb989) to head (bb6c350).

Files Patch % Lines
...s/sqip-plugin-triangle/src/sqip-plugin-triangle.ts 94.91% 3 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #341 +/- ## ========================================== + Coverage 86.09% 87.27% +1.17% ========================================== Files 10 11 +1 Lines 482 550 +68 Branches 82 90 +8 ========================================== + Hits 415 480 +65 - Misses 59 62 +3 Partials 8 8 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.