
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
bootswatcher
Advanced tools
Bootswatch theme switcher Web Component with
data-bs-themelocalStorage (bootswatcher:theme & bootswatcher:mode)insert-link attribute)build.js)setup-webpack.js to scaffold a minimal webpack configvite.config.ts) with pnpm devdist/ (GitHub Pages)pnpm install
pnpm dev # Vite dev server at http://localhost:5173
pnpm run build # Production build (offline dist/)
pnpm dlx serve dist
<boot-swatcher/>
<boot-swatcher
themes-url="./themes/themes.json"
themes-path="./themes"
link-id="bootswatch-theme"
default-theme="bootstrap"
default-mode="auto"
show-label
show-mode-toggle
compact
insert-link
></boot-swatcher>
themes-url: URL to JSON array of theme names (auto-generated at build). Default: ./themes/themes.jsonthemes-path: Directory containing CSS themes. Default: ./themeslink-id: The <link> element id used for active theme. Default: bootswatch-themedefault-theme: Fallback if no saved theme. Default: bootstrapdefault-mode: light | dark | auto (auto respects OS preference). Default: autoshow-label: Present to show the "Theme" labelshow-mode-toggle: Present to show dark mode togglecompact: Present to render a smaller UI footprintinvisible: Present to apply theme/mode without rendering controlsinsert-link: Present to create the <link id="..."> if it doesn't existsetTheme(name: string)setMode(mode: 'light' | 'dark')pnpm → npm → yarn) and uses the right commands.node build.jsMIT
FAQs
Bootswatch theme switcher Web Component
We found that bootswatcher demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.