plop-helper-date

A plop helper to grab the current date.

MIT License

Downloads
132
Stars
1

💧 plop-helper-date

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

Package Rankings
Top 11.87% on Npmjs.org