
Company News
Socket Named to Rising in Cyber 2026 List of Top Cybersecurity Startups
Socket was named to the Rising in Cyber 2026 list, recognizing 30 private cybersecurity startups selected by CISOs and security executives.
@namics/nitro-component-handlebars
Advanced tools
This helper allows to render a nitro component using handlebars
npm i --save-dev @namics/nitro-component-handlebars
const componentHandlebarsHelper = require('@namics/nitro-component-handlebars');
module.exports = componentHandlebarsHelper({
rootDirectory: '/path/to/nitro/root'
})
The following code will render components/atoms/button/button.hbs:
{{component "components/atoms/button"}}
The following code will set the value of {{children}} to 'Click me':
{{#component "components/atoms/button"}}
Click me
{{/component}}
The following code will set the value of {{size}} to 'xl':
{{component "components/atoms/button" size="xl"}}
The following code will set the value of {{sizes}} to ['xl', 'l']:
{{component "components/atoms/button" sizes="['xl', 'l']"}}
The following code will set the template variables to the content of
components/atoms/button/_data/demo.json:
{{component "components/atoms/button" data-file="demo.json"}}
The following code will render a component from another node_module
e.g. node_modules/base-pattern/components/atoms/button/button.json
{{component "~base-pattern/components/atoms/button"}}
You're free to contribute to this project by submitting issues and/or pull requests. This project is test-driven, so keep in mind that every change and new feature should be covered by tests.
This project uses the .
This project is licensed under MIT.
FAQs
A handlebars helper to render a nitro component
The npm package @namics/nitro-component-handlebars receives a total of 21 weekly downloads. As such, @namics/nitro-component-handlebars popularity was classified as not popular.
We found that @namics/nitro-component-handlebars 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.

Company News
Socket was named to the Rising in Cyber 2026 list, recognizing 30 private cybersecurity startups selected by CISOs and security executives.

Research
Socket detected 84 compromised TanStack npm package artifacts modified with suspected CI credential-stealing malware.

Security News
A dispute over fsnotify maintainer access set off supply chain alarms around one of Go’s most widely used filesystem libraries.