A plop helper to grab the current date.
This package is installable from npm.
npm install --save-dev plop-date
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.
Creates a formatted date.
helper
output
"2020-07-10"
Creates a raw timestamp.
helper
output
"20241111223217"
π report bugs by filing issues
π’ provide feedback with issues or on twitter
ππΌββοΈ use my ama or twitter to ask any other questions