Gathering detailed insights and metrics for gulp-datasrc-html
Gathering detailed insights and metrics for gulp-datasrc-html
npm install gulp-datasrc-html
Typescript
Module System
Node Version
NPM Version
65.4
Supply Chain
82.5
Quality
73.1
Maintenance
100
Vulnerability
100
License
JavaScript (100%)
Total Downloads
1,268
Last Day
1
Last Week
9
Last Month
19
Last Year
130
24 Commits
1 Watching
1 Branches
1 Contributors
Minified
Minified + Gzipped
Latest Version
1.0.6
Package Id
gulp-datasrc-html@1.0.6
Unpacked Size
6.38 kB
Size
2.63 kB
File Count
4
NPM Version
7.6.3
Node Version
15.12.0
Cumulative downloads
Total Downloads
Last day
0%
1
Compared to previous day
Last week
800%
9
Compared to previous week
Last month
850%
19
Compared to previous month
Last year
-29.7%
130
Compared to previous year
3
Replace
src
,srcset
todata-src
,data-srcset
supports LazyLoading
1npm i --save-dev gulp-datasrc-html
1// Input 2<img src="./img/img-1.jpg"> 3<picture> 4 <source srcset="./img/img-1.webp" type="image/webp"> 5 <img src="./img/img-1.jpg"> 6</picture> 7 8// Output 9<img data-src="./img/img-1.jpg"> 10<picture> 11 <source data-srcset="./img/img-1.webp" type="image/webp"> 12 <img data-src="./img/img-1.jpg"> 13</picture>
1var dataHTML = require('gulp-datasrc-html'); 2 3gulp.task('html',function(){ 4 gulp.src('./assets/**/*.html') 5 .pipe(dataHTML({ ignore: true, tags: 'header' })) 6 .pipe(gulp.dest('./public/')) 7});
1true - Enables tag-based ignoring 2false - by default
1<header></header> - tag-based ignoring by default
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
Found 0/24 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no SAST tool detected
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
Score
Last Scanned on 2025-01-27
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