Gathering detailed insights and metrics for vue-tiny-lazyload-img
Gathering detailed insights and metrics for vue-tiny-lazyload-img
Gathering detailed insights and metrics for vue-tiny-lazyload-img
Gathering detailed insights and metrics for vue-tiny-lazyload-img
🐌 A small size Vue.js directive for lazy loading images using IntersectionObserver API
npm install vue-tiny-lazyload-img
Typescript
Module System
Node Version
NPM Version
JavaScript (46.54%)
Vue (33.61%)
EJS (19.85%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
92 Stars
85 Commits
4 Forks
2 Watchers
17 Branches
2 Contributors
Updated on Aug 19, 2024
Latest Version
0.1.0
Package Id
vue-tiny-lazyload-img@0.1.0
Unpacked Size
18.95 kB
Size
4.75 kB
File Count
9
NPM Version
6.4.1
Node Version
10.15.0
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
3
39
A small size Vue.js directive for lazy loading images using IntersectionObserver API
https://mazipan.github.io/vue-tiny-lazyload-img/
1npm install vue-tiny-lazyload-img 2// OR 3yarn add intersection-observer
1import VueTinyLazyloadImg from 'vue-tiny-lazyload-img' 2Vue.use(VueTinyLazyloadImg);
1<img v-lazyload 2 src="./assets/logo.png" 3 data-src="./assets/logo-success.png" 4 data-err="./assets/logo-error.png">
This plugin using IntersectionObserver
, so please use polyfill if you need support old browser https://github.com/w3c/IntersectionObserver/tree/master/polyfill
1$ yarn add intersection-observer 2 3// then add polyfill for IntersectionObserver in your main app 4require('intersection-observer')
1# install dependencies 2npm install 3 4# serve with hot reload at localhost:8080 5npm run dev 6 7# build for production demo with minification 8npm run build:demo 9 10# build for plugin distribution file 11npm run build:lib
Based on this awesome article: https://developers.google.com/web/fundamentals/performance/lazy-loading-guidance/images-and-video/
Copyright © 2018 Built with ❤️ by Irfan Maulana
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
SAST tool detected but not run on all commits
Details
Reason
Found 0/13 approved changesets -- score normalized to 0
Reason
project is archived
Details
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
120 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More