
Product
Introducing Webhook Events for Alert Changes
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.
@re4ma/re4ma
Advanced tools
<slot> based composition supportUse Symbiote-components for any dynamic page content.
<script
src="https://unpkg.com/@re4ma/re4ma@latest/build/re4ma.js">
</script>
npm i @re4ma/re4ma
<!-- Import any external HTML chunk or component: -->
<re-htm src="htm/page.htm"><re-htm>
<!-- Import and render Markdown: -->
<re-md src="md/article.md"><re-md>
<!-- Import and render code snippet: -->
<re-code src="js/snippet.js"><re-code>
<!-- Import Javascript on demand: -->
<re-js src="js/app.js"><re-js>
<!-- Import styles: -->
<re-css src="css/styles.css"><re-css>
<!-- Import with custom source handler: -->
<re-load
loader="scripts/txt-loader.js"
src="some_content.txt">
<re-load>
<!-- Image: -->
<re-img
loader="scripts/my-loader.js"
src="img/picture.jpg">
<re-img>
<!-- Rendering from external data endpoint: -->
<re-peat
template-src="htm/user-card-template.htm"
data-src="data/users.json">
<re-peat>
Use *.html file names for HTML-pages and *.htm for chunks and modules
<re-htm src="html/page.htm">
<div slot="content"></div>
<re-htm>
In HTML Chunk:
<div>
<slot name="content"></slot>
</div>
Set custom HTML attributes:
<re-htm src="html/page.htm" --text="My Text"><re-htm>
Then use values in template:
<div>{{text}}</div>
Clear element content (remove children):
<my-component re-clear><my-component>
Remove cetrain element after render:
<my-component re-move><my-component>
FAQs
Simple in-browser HTML page generator
We found that @re4ma/re4ma demonstrated a not healthy version release cadence and project activity because the last version was released 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.

Product
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.

Security News
ENISA has become a CVE Program Root, giving the EU a central authority for coordinating vulnerability reporting, disclosure, and cross-border response.

Product
Socket now scans OpenVSX extensions, giving teams early detection of risky behaviors, hidden capabilities, and supply chain threats in developer tools.