Security News
The Risks of Misguided Research in Supply Chain Security
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.
@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.
Security News
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.
Research
Security News
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.