readme.md

July 28, 2020 ยท View on GitHub

๐Ÿ’ง plop-helper-list

npm npm

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