
Security News
npm Adopts OIDC for Trusted Publishing in CI/CD Workflows
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
nuxt-image-extractor
Advanced tools
Nuxt image extractor for full static generated sites
This module is based on this gist from emiliobondioli.
It parses each generated page, downloads its images from your CMS API, stores them in a folder inside /dist
and finally replace the HTML sources with the local paths.
Works with both nuxt generate
and nuxt export
commands.
Supports image url params like ?itok=gmJP5AbR
.
It replaces payload image links as well, although this is not fully tested yet. So use with caution!
nuxt-image-extractor
dependency to your projectyarn add nuxt-image-extractor # or npm install nuxt-image-extractor
nuxt-image-extractor
to the modules
section of nuxt.config.js
{
modules: [
[
'nuxt-image-extractor',
{
// (Required) CMS url
baseUrl: process.env.BASE_URL,
// (Optional) Dir where downloaded images will be stored
path: '/_images',
// (Optional) Array containing image formats
extensions: ['jpg', 'jpeg', 'gif', 'png', 'webp', 'svg'],
}
]
]
}
FAQs
Nuxt image extractor for full static generated sites
The npm package nuxt-image-extractor receives a total of 32 weekly downloads. As such, nuxt-image-extractor popularity was classified as not popular.
We found that nuxt-image-extractor 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
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.