A plop helper that slugifies text.
This package is installable from npm.
npm install --save-dev plop-helper-slugify
Before you can use the plop-pack
, you have to load it into the plop
object.
plop.load("plop-helper-slugify")
Once loaded, you now have access the following helpers.
Creates a slug for any input text.
input
{
title: "This Is An Example Slug"
}
helper
output
"this-is-an-example-slug"
🐛 report bugs by filing issues
📢 provide feedback with issues or on twitter
🙋🏼♂️ use my ama or twitter to ask any other questions