
Security News
Socket Integrates With Bun 1.3’s Security Scanner API
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
@zubyjs/sitemap
Advanced tools
The plugin for Zuby.js that automatically generates a sitemap.xml file for your website from your pages.
First, install the @zubyjs/sitemap
package using your favorite package manager.
If you aren't sure, you can use npm:
npm install @zubyjs/sitemap
Then add the @zubyjs/sitemap
plugin to your zuby.config.mjs
file under the plugins
option:
import { defineConfig } from 'zuby';
import preact from '@zubyjs/preact';
+ import sitemap from '@zubyjs/sitemap';
export default defineConfig({
outDir: '.zuby',
jsx: preact(),
+ plugins: [
+ sitemap()
+ ]
^^^^^^^^
});
The plugin will automatically add link to the generated sitemap to the head of your HTML pages.
And that's it! Now you can run zuby build
and the sitemap.xml file will be generated.
NOTE: Always make sure that all zuby packages are in sync in your package.json
file:
{
"name": "my-zuby-app",
"version": "1.0.0",
"dependencies": {
"zuby": "latest",
"@zubyjs/sitemap": "latest"
}
}
This package is part of Zuby.js workspace and maintained by the team behind the Zuby package. Please refer to it for more details how to contribute.
MIT
FAQs
Zuby.js sitemap plugin
The npm package @zubyjs/sitemap receives a total of 5 weekly downloads. As such, @zubyjs/sitemap popularity was classified as not popular.
We found that @zubyjs/sitemap demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers 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
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.
Security News
A data handling bug in OSV.dev caused disputed CVEs to disappear from vulnerability feeds until a recent fix restored over 500 advisories.