1.0.0 ā€¢ Published 4 years ago

plop-helper-list v1.0.0

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

šŸ’§ plop-helper-list

A plop helper that formats comma separated values.

šŸ“¦ Installation

This package is installable from npm.

npm install --save-dev plop-helper-list

šŸ„‘ Usage

Before you can use the plop-pack, you have to load it into the plop object.

plop.load("plop-helper-list")

Once loaded, you now have access the following helpers.

list

Cleans up a comma separated list of values.

input

{
    tags: "one, two,  three,  four , five  "
}

helper

{{list tags}}

output

"one, two, three, four, five"

ā” Questions

šŸ› report bugs by filing issues
šŸ“¢ provide feedback with issues or on twitter
šŸ™‹šŸ¼ā€ā™‚ļø use my ama or twitter to ask any other questions