
Security News
GitHub Actions Pricing Whiplash: Self-Hosted Actions Billing Change Postponed
GitHub postponed a new billing model for self-hosted Actions after developer pushback, but moved forward with hosted runner price cuts on January 1.
cortex-handlebars-compiler
Advanced tools
Handlebar helpers for cortex template.
$ npm install cortex-handlebars-compiler --save
var compiler = require('cortex-handlebars-compiler');
Returns the compiler.Compiler instance.
Object
Object object of cortex.jsonpath the root directories of packagesObject object of cortex-shrinkwrap.jsonString='.js' the extension of module files, default to '.js'String template stringParses the template string and returns function(data) the parsed function.
template:
<body>
{{{facade 'a@1.0.0'}}}
</body>
instance.compile(template)();
Then you will get: (which is beautified)
<html>
<head></head>
<body>
<script src="../../../neuron/5.1.0/neuron.min.js"></script>
<script>
neuron.config({
ranges: {
"jquery": {
"~1.9.2": "1.9.2"
},
"neuron": {
"latest": "5.1.0"
}
},
depTree: {
"cortex-hybrid-sample": {
"0.1.0": [{
"jquery": "~1.9.2"
}, {}]
}
},
path: "../../../"
});
</script>
<script>
facade({
mod:"cortex-hybrid-sample@0.1.0"
});
</script>
</body>
</html>
String the name of the helperfunction(title, helper_options) see handlebars for detailsRegisters a new helper handler.
Returns this.
{{{facade '<package-name>'}}}The first 'facade' will also output the engines and configurations.
MIT
FAQs
Handlebar helpers for cortex template.
The npm package cortex-handlebars-compiler receives a total of 2 weekly downloads. As such, cortex-handlebars-compiler popularity was classified as not popular.
We found that cortex-handlebars-compiler demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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
GitHub postponed a new billing model for self-hosted Actions after developer pushback, but moved forward with hosted runner price cuts on January 1.

Research
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.

Security News
Socket CTO Ahmad Nassri shares practical AI coding techniques, tools, and team workflows, plus what still feels noisy and why shipping remains human-led.