💧 plop-helper-slugify
A plop helper that slugifies text.
📦 Installation
This package is installable from npm.
npm install --save-dev @piperguy/plop-helper-slugify
🥑 Usage
Before you can use the plop-pack
, you have to load it into the plop
object.
plop.load("@piperguy/plop-helper-slugify")
Once loaded, you now have access the following helpers.
slugify
Creates a slug for any input text.
input
{
title: "This Is An Example Slug"
}
helper
output
"this-is-an-example-slug"
❔ Questions