Convert strings into URL slugs.

npm install helper-slugify
2 downloads in the last week
5 downloads in the last month

{{slugify}} NPM version

Convert strings into URL slugs.


In the root of your project, run the following in the command line:

npm i helper-slugify --save-dev


{{slugify "I am a word too, even though I am but a single letter: i!"}}

Usage in Assemble

In your Gruntfile, simply add helper-slugify to the helpers property in the Assemble task or target options:

  assemble: {
    options: {
      helpers: ['helper-slugify']

With that completed, you may now being using the {{slugify}} helper in your Assemble project.

npm loves you