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.
@hodgef/blank-theme
Advanced tools
Absolute flexibility. All you need to let your imagination flow.
When you first build your page with the theme, you'll notice nothing shows up. This is intentional, as it's up to you to use the data to build your layout.
The PRSS Client Library, is already loaded with the Theme. Use its methods to render your content.
For example:
<main>
<h1></h1>
<div class="content"></div>
</main>
<script>
const setContent = (selector, html) => document.querySelector(selector).innerHTML = html;
const { item } = PRSS.getAllProps();
/*
Returns: {
"uuid":"fffb7461-1380-46d2-bca5-70696b1cda1c",
"slug":"home",
"title":"Home",
"content":"<p>This is the beginning of something great.</p>",
"template":"home",
"updatedAt":1713499483159,
"createdAt":1713390209013,
"vars":{}
}
*/
setContent("h1", item.title);
setContent(".content", item.content);
</script>
Alternatively, you can apply this code to all pages of your site:
FAQs
Blank Theme for PRSS
We found that @hodgef/blank-theme 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.
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.