readme.md

July 28, 2020 ยท View on GitHub

๐Ÿ’ง plop-helper-slugify

npm npm

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