plop-helper-list

1.0.0 • Public • Published

💧 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

Package Sidebar

Install

npm i plop-helper-list

Weekly Downloads

29

Version

1.0.0

License

MIT

Unpacked Size

4.73 kB

Total Files

7

Last publish

Collaborators

  • bradgarropy