
Product
Rust Support in Socket Is Now Generally Available
Socket’s Rust and Cargo support is now generally available, providing dependency analysis and supply chain visibility for Rust projects.
handlebars-helper-css
Advanced tools
{{css}} handlebars helper, for dynamically updating <link> tags for stylesheets, with options for adding, removing, revisioning, and minification.

Handlebars helper for adding stylesheets based on config settings.
This helper can optionally manage:
assets/css/){{#css}}
<link rel="stylesheet" href="{{@path}}">
{{/css}}
Results in something like:
<link rel="stylesheet" href="../../../assets/css/3df5e.ad.min.css">
<link rel="stylesheet" href="../../../assets/css/42772.banner.min.css">
<link rel="stylesheet" href="../../../assets/css/39528.body.min.css">
<link rel="stylesheet" href="../../../assets/css/73095.button.min.css">
<link rel="stylesheet" href="../../../assets/css/1dd65.callouts.min.css">
<link rel="stylesheet" href="../../../assets/css/efcde.examples.min.css">
<link rel="stylesheet" href="../../../assets/css/9eaf6.footer.min.css">
Install with npm
npm i handlebars-helper-css --save-dev
Install with bower
bower install handlebars-helper-css --save-dev
The easiest way to register the helper with Assemble is to add the module to devDependencies and keywords in your project's package.json:
{
"devDependencies": {
"handlebars-helper-css": "*"
},
"keywords": [
"handlebars-helper-css"
]
}
Alternatively, to register the helper explicitly in the Gruntfile:
grunt.initConfig({
assemble: {
options: {
// the 'handlebars-helper-css' npm module must also be listed in
// devDependencies for assemble to automatically resolve the helper
helpers: ['handlebars-helper-css', 'foo/*.js']
},
files: {
'dist/': ['src/templates/*.hbs']
}
}
});
Jon Schlinkert
Copyright (c) 2014 Jon Schlinkert, contributors. Licensed under the MIT License
FAQs
{{css}} handlebars helper, for dynamically updating <link> tags for stylesheets, with options for adding, removing, revisioning, and minification.
We found that handlebars-helper-css 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
Socket’s Rust and Cargo support is now generally available, providing dependency analysis and supply chain visibility for Rust projects.

Security News
Chrome 144 introduces the Temporal API, a modern approach to date and time handling designed to fix long-standing issues with JavaScript’s Date object.

Research
Five coordinated Chrome extensions enable session hijacking and block security controls across enterprise HR and ERP platforms.