1.1.0 ā€¢ Published 4 years ago

plop-helper-slugify v1.1.0

Weekly downloads
5
License
MIT
Repository
github
Last release
4 years ago

šŸ’§ plop-helper-slugify

A plop helper that slugifies text.

šŸ“¦ Installation

This package is installable from npm.

npm install --save-dev plop-helper-slugify

šŸ„‘ Usage

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.

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
šŸ™‹šŸ¼ā€ā™‚ļø use my ama or twitter to ask any other questions