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

Dependentsā€‚(1)

Package Sidebar

Install

npm i plop-helper-list

Weekly Downloads

65

Version

1.0.0

License

MIT

Unpacked Size

4.73 kB

Total Files

7

Last publish

Collaborators

  • bradgarropy