
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
markdown-it-img-lazy
Advanced tools
a markdown-it plugin to better supporting image lazy loading
a markdown-it plugin to better supporting image lazy loading
The plugin will preferentially use native image lazy-loading, if the browser does not support it, it will be implemented through lozad
yarn add markdown-it-img-lazy
# or
npm i markdown-it-img-lazy
md.use(require('markdown-it-img-lazy'), /* Options */)
then you need
load Lozad.js in the head tag of your page
load imgLazy.js closer the </body>
tag of your page

Boolean
true
false
Use the native image lazy-loading for the web
if useNative = true
 -> <p><img alt="img" data-src="img.jpg" loading="lazy" class="lazy"></p>
if useNative = false
 -> <p><img alt="img" data-src="img.jpg" class="lazy"></p>
string
lazy
false
Default class name for image
string
Function
''
false
Config prefix for src in images
FAQs
a markdown-it plugin to better supporting image lazy loading
The npm package markdown-it-img-lazy receives a total of 212 weekly downloads. As such, markdown-it-img-lazy popularity was classified as not popular.
We found that markdown-it-img-lazy 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
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.