Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@xylit/ssg
Advanced tools
Xylit SSG is a powerful static site generator:
Being Less Bloated... Being More Straightforward!
Please follow the official documentation.
.ssg.js
-FormatSSG files are JavaScript files that are slightly transformed before execution. This is necessary in order to perform a dynamic code analysis.
Consider this SSG file
const css = style.module.css`
.headline {
color: red;
}
`;
export default html`<h1 class=${css.headline}>Hello Xylit</h1>`;
Converted, it looks similar like this:
import * as SSG from "@xylit/ssg";
const { html, style } = SSG.init(import.meta);
export const meta = import.meta;
const css = style.module.css`
.headline {
color: red;
}
`;
export default SSG.defineComponent(import.meta, () =>
html`<h1 class=${css.headline}>Hello Xylit</h1>`;
);
FAQs
A pure static site generator
We found that @xylit/ssg demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.