@piperguy/plop-helper-slugify

1.1.0 • Public • Published

💧 plop-helper-slugify

npm npm

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

{{slug title}}

output

"this-is-an-example-slug"

Questions

🐛 report bugs by filing issues
📢 provide feedback with issues or on twitter

Package Sidebar

Install

npm i @piperguy/plop-helper-slugify

Weekly Downloads

1

Version

1.1.0

License

MIT

Unpacked Size

4.71 kB

Total Files

6

Last publish

Collaborators

  • piperguy