![Maven Central Adds Sigstore Signature Validation](https://cdn.sanity.io/images/cgdhsj6q/production/7da3bc8a946cfb5df15d7fcf49767faedc72b483-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Maven Central Adds Sigstore Signature Validation
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
gulp-image-lqip
Advanced tools
Gulp plugin which generates HTML image placeholders using lqip technique
Parses your HTML files to find images and adds a data-src attribute to them which contains their Base64 representation.
npm install --save-dev gulp-image-lqip
const gulp = require('gulp');
const gulpImgLqip = require('gulp-image-lqip');
gulp.task('default', () => {
return gulp.src('*.html')
// `gulp-image-lqip` needs filepaths
// so you can't have any plugins before it
.pipe(gulpImgLqip(__dirname))
})
Currently ['jpeg', 'jpg', 'png', 'gif']
files are supported.
string
Define the rootPath of your website, it must be an absolute path.
Type: Object
string
data-src
Attribute which will contain the Base64 representation of your image.
Boolean
true
Use pretty to beautify the HTML files.
string
src
Attribute which contain your image.
If you want to thank me or support my work:
Thanks lqip for the inspiration :+1:
MIT © Johann-S
FAQs
Gulp plugin which generates HTML image placeholders using lqip technique
The npm package gulp-image-lqip receives a total of 4 weekly downloads. As such, gulp-image-lqip popularity was classified as not popular.
We found that gulp-image-lqip demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.