Skip to content

bradgarropy/plop-helper-date

Repository files navigation

💧 plop-helper-date

npm npm

A plop helper to grab the current date.

📦 Installation

This package is installable from npm.

npm install --save-dev plop-helper-date

🥑 Usage

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

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

Once loaded, you now have access the following helpers.

date

Creates a formatted date.

input

{}

helper

{{date}}

output

"2020-07-10"

❔ Questions

🐛 report bugs by filing issues
📢 provide feedback with issues or on twitter
🙋🏼‍♂️ use my ama or twitter to ask any other questions