A plop helper that formats comma separated values.
This package is installable from npm.
npm install --save-dev plop-helper-list
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.
Cleans up a comma separated list of values.
input
{
tags: "one, two, three, four , five "
}
helper
output
"one, two, three, four, five"
🐛 report bugs by filing issues
📢 provide feedback with issues or on twitter
🙋🏼♂️ use my ama or twitter to ask any other questions