lqip-modern
unpic-placeholder
lqip-modern | unpic-placeholder | |
---|---|---|
1 | 1 | |
282 | 158 | |
- | - | |
0.0 | 4.5 | |
2 months ago | about 1 year ago | |
JavaScript | TypeScript | |
- | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
lqip-modern
-
A better compact image placeholder hash
I open sourced a version of what Evan calls the "webp potato hash" awhile back: https://github.com/transitive-bullshit/lqip-modern
I generally prefer using webp to BlurHash or this version of ThumbHash because it's natively supported and decoded by browsers – as opposed to requiring custom decoding logic which will generally lock up the main thread.
unpic-placeholder
-
A better compact image placeholder hash
Small heads-up, you might want to look at the PRs (I've opened the single open PR) :D
Take a look here: https://github.com/ascorbic/unpic-placeholder. Recently created by a Principal Engineer of Netlify, which kind of server-side-renders BlurHash images, so that they don't tax the mainthread. Maybe the same can be done for ThumbHash (I've opened an issue in that repo to discuss it)
What are some alternatives?
images-downloader - A Node.js module for downloading a single image or multiple images to disk from a given Url
ssimulacra2 - SSIMULACRA 2. Perceptual metric.
UTEX.js - A fast tiny tool for working with compressed textures
Primitive Pictures - Reproducing images with geometric primitives.
vanilla-lazyload - LazyLoad is a lightweight, flexible script that speeds up your website by deferring the loading of your below-the-fold images, backgrounds, videos, iframes and scripts to when they will enter the viewport. Written in plain "vanilla" JavaScript, it leverages IntersectionObserver, supports responsive images and enables native lazy loading.