
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
Seamlessly transpile HTML-like tag syntax <x-badge color="primary" /> into native Edge.js components.
Install the package using your preferred package manager:
pnpm install edge-tags
# or
npm install edge-tags
# or
yarn add edge-tags
Register the plugin with your Edge.js instance:
import { Edge } from "edge.js";
import { edgeTags } from "edge-tags";
const edge = Edge.create();
/**
* Register the edge-tags plugin
*/
edge.use(edgeTags);
When you write HTML-style custom elements:
<x-button class="bg-white" a="b" :foo="bar" baz="{{ 1 + 2 }}">
Hello
</x-button>
<x-card>
<x-card.title>
Hello
</x-card.title>
<x-card.body>
World
</x-card.body>
<x-slot name="footer">
Footer Content
</x-slot>
</x-card>
<x-diskName::avatar />
Edge-tags automatically converts it to Edge.js component syntax:
@component('button', { class: 'bg-white', a: 'b', foo: bar, baz: `${1 + 2}` })
Hello
@end
@component('card')
@component('card/title')
Hello
@end
@component('card/body')
World
@end
@slot('footer')
Footer Content
@end
@end
@component('diskName::avatar')
@end
Edge-tags smartly resolves your component paths based on file structure:
button.edge → References as "button"components/button.edge → References as "components/button"components/button/index.edge → References as "components/button/index"This automatic resolution eliminates path management headaches and ensures your components are always correctly referenced.
FAQs
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
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.