Installations
npm install gulp-rewrite-image-path
Developer Guide
Typescript
No
Module System
CommonJS
Min. Node Version
>=0.10
Node Version
6.3.1
NPM Version
3.10.3
Score
61.8
Supply Chain
70.5
Quality
69.9
Maintenance
25
Vulnerability
98
License
Releases
Unable to fetch releases
Contributors
Unable to fetch Contributors
Languages
JavaScript (100%)
Developer
lagartoflojo
Download Statistics
Total Downloads
6,175
Last Day
6
Last Week
23
Last Month
95
Last Year
340
GitHub Statistics
17 Commits
1 Forks
2 Watching
1 Branches
1 Contributors
Bundle Size
3.00 kB
Minified
1.03 kB
Minified + Gzipped
Package Meta Information
Latest Version
0.0.4
Package Id
gulp-rewrite-image-path@0.0.4
Size
2.51 kB
NPM Version
3.10.3
Node Version
6.3.1
Total Downloads
Cumulative downloads
Total Downloads
6,175
Last day
200%
6
Compared to previous day
Last week
-17.9%
23
Compared to previous week
Last month
179.4%
95
Compared to previous month
Last year
-4.2%
340
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Convert and replace the src
of the images in your HTML files.
Example
gulpfile.js
1var gulp = require('gulp'); 2var rewriteImagePath = require('gulp-rewrite-image-path'); 3 4gulp.task('default', function () { 5 gulp.src('index.html') 6 ... 7 .pipe(rewriteImagePath({path:"build/images"})) 8 ... 9});
Before:
1<html> 2 <head> 3 </head> 4 <body> 5 <img src="sample1.png" /> 6 <img src="subdirectory/sample2.png" /> 7 <img src="https://www.wikipedia.org/static/favicon/wikipedia.ico" /> 8...
After:
1<html> 2 <head> 3 </head> 4 <body> 5 <img src="build/images/sample.png"> 6 <img src="build/images/subdirectory/sample2.png" /> 7 <img src="https://www.wikipedia.org/static/favicon/wikipedia.ico" /> 8...
License
MIT © lagartoflojo
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
- Info: project has a license file: LICENSE:0
- Info: FSF or OSI recognized license: MIT License: LICENSE:0
Reason
Found 0/17 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
- Warn: no pull requests merged into dev branch
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
- Warn: no security policy file detected
- Warn: no security file to analyze
- Warn: no security file to analyze
- Warn: no security file to analyze
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'master'
Score
3
/10
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