
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
@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 0 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.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.