plop-date

1.0.1Β β€’Β PublicΒ β€’Β Published

πŸ’§ plop-date

npm npm

A plop helper to grab the current date.

πŸ“¦ Installation

This package is installable from npm.

npm install --save-dev plop-date

πŸ₯‘ Usage

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

plop.load("plop-date")

Once loaded, you now have access the following helpers.

date

Creates a formatted date.

helper

{{date}}

output

"2020-07-10"

timestamp

Creates a raw timestamp.

helper

{{timestamp}}

output

"20241111223217"

❔ 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-date

Weekly Downloads

4

Version

1.0.1

License

MIT

Unpacked Size

4.84 kB

Total Files

7

Last publish

Collaborators

  • alfed7