
Company News
Socket Named Top Sales Organization by RepVue
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.
handlebars-helper-slugify
Advanced tools
{{slugify}} handlebars helper. Uses the awesome underscore.string to transform text into a URL slug. Replaces whitespaces, accentuated and special characters with a dash.

{{slugify}} handlebars helper. Uses the awesome underscore.string to transform text into a URL slug. Replaces whitespaces, accentuated and special characters with a dash.
Heads up! v0.3.0 of this helper requires Assemble v0.5.0 and greater!
Use npm to install the package: npm i handlebars-helper-slugify.
To automatically load helpers from node_modules, see resolve-dep.
In your project's Gruntfile, to register the helper add handlebars-helper-slugify to the helpers property in the Assemble task or target options:
grunt.initConfig({
assemble: {
options: {
// the 'handlebars-helper-slugify' npm module must also be listed in
// devDependencies for assemble to automatically resolve the helper
helpers: ['handlebars-helper-slugify', 'foo/*.js']
},
files: {
'_gh_pages/': ['templates/pages/*.hbs']
}
}
});
Now that the helper is registered, you may begin using it in your templates.
Given file name: Executive Summary 2013.md:
{{slugify page.filename}}
Renders to executive-summary-2013.md.
This helper is based on the slugify method from underscore.string, thank you to the maintainers and contributors of that library!
Jon Schlinkert
Copyright (c) 2014 Jon Schlinkert, contributors.
Released under the MIT license
This file was generated by verb-cli on May 10, 2014.
FAQs
{{slugify}} handlebars helper. Uses the awesome underscore.string to transform text into a URL slug. Replaces whitespaces, accentuated and special characters with a dash.
The npm package handlebars-helper-slugify receives a total of 92 weekly downloads. As such, handlebars-helper-slugify popularity was classified as not popular.
We found that handlebars-helper-slugify 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.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.