Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bradgarropy/plop-helper-date
A plop helper to grab the current date.
https://github.com/bradgarropy/plop-helper-date
date helper plop plop-helper plop-pack
Last synced: 8 days ago
JSON representation
A plop helper to grab the current date.
- Host: GitHub
- URL: https://github.com/bradgarropy/plop-helper-date
- Owner: bradgarropy
- License: mit
- Created: 2020-07-28T02:46:46.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-03-27T06:53:57.000Z (almost 3 years ago)
- Last Synced: 2024-12-14T06:14:34.956Z (12 days ago)
- Topics: date, helper, plop, plop-helper, plop-pack
- Language: JavaScript
- Homepage: https://npmjs.com/package/plop-helper-date
- Size: 117 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
## 💧 plop-helper-date
_A [plop][plop] helper to grab the current date._
### 📦 Installation
This package is installable from [npm][npm].
```bash
npm install --save-dev plop-helper-date
```### 🥑 Usage
Before you can use the `plop-pack`, you have to load it into the `plop` object.
```javascript
plop.load("plop-helper-date")
```Once loaded, you now have access the following helpers.
#### `date`
Creates a formatted date.
**input**
```json
{}
```**helper**
```handlebars
{{date}}
```**output**
```javascript
"2020-07-10"
```### ❔ Questions
🐛 report bugs by filing [issues][issues]
📢 provide feedback with [issues][issues] or on [twitter][twitter]
🙋🏼♂️ use my [ama][ama] or [twitter][twitter] to ask any other questions[plop]: https://plopjs.com
[npm]: https://npmjs.com
[bradgarropy]: https://bradgarropy.com
[issues]: https://github.com/bradgarropy/plop-helper-date/issues
[twitter]: https://twitter.com/bradgarropy
[ama]: https://github.com/bradgarropy/ama