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Ā 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

Package Sidebar

Install

npm i plop-helper-slugify

Weekly Downloads

57

Version

1.1.0

License

MIT

Unpacked Size

4.85 kB

Total Files

7

Last publish

Collaborators

  • bradgarropy