
Security News
MCP Steering Committee Launches Official MCP Registry in Preview
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.
@inspirationlabs/helmet
Advanced tools
Declaratively update the
<head>
from a Stencil app.
This is a Stencil component meant to be used within Stencil apps to declaratively update the document <head>
. You pass it elements that you'd normally place in <head>
, and it updates <head>
accordingly. Each instance will override duplicate tags from preceding instances.
Note that, because it uses virtual DOM as input, stencil-helmet can only be used within Stencil apps and not as a standalone web component.
npm install @stencil/helmet
import Helmet from '@stencil/helmet';
//...
export class MyComponent {
render() {
return (
<div>
<Helmet>
<title>{this.title}</title>
<meta name="description" content={this.description}/>
<link rel="stylesheet" href="/styles.css"/>
</Helmet>
</div>
);
}
}
FAQs
Declaratively update the head from a Stencil app.
We found that @inspirationlabs/helmet demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.
Product
Socket’s new Pull Request Stories give security teams clear visibility into dependency risks and outcomes across scanned pull requests.
Research
/Security News
npm author Qix’s account was compromised, with malicious versions of popular packages like chalk-template, color-convert, and strip-ansi published.