@piperguy/plop-helper-date

1.0.0 • Public • Published

💧 plop-helper-date

npm npm

A plop helper to grab the current date.

📦 Installation

This package is installable from npm.

npm install --save-dev @piperguy/plop-helper-date

🥑 Usage

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

plop.load("@piperguy/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

Package Sidebar

Install

npm i @piperguy/plop-helper-date

Weekly Downloads

2

Version

1.0.0

License

MIT

Unpacked Size

4.52 kB

Total Files

6

Last publish

Collaborators

  • piperguy