https://github.com/5t3ph/hydrate-me
Get hydrated by running this solo or appending to a watch type of command for reminders at your chosen minute interval.
https://github.com/5t3ph/hydrate-me
fun health hydration silly wellness
Last synced: over 1 year ago
JSON representation
Get hydrated by running this solo or appending to a watch type of command for reminders at your chosen minute interval.
- Host: GitHub
- URL: https://github.com/5t3ph/hydrate-me
- Owner: 5t3ph
- Created: 2020-11-04T02:58:37.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2020-11-04T04:40:26.000Z (over 5 years ago)
- Last Synced: 2025-02-23T14:22:01.500Z (over 1 year ago)
- Topics: fun, health, hydration, silly, wellness
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/hydrate-me
- Size: 3.91 KB
- Stars: 2
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Hydrate Me
> Get hydrated by running this solo or appending to a watch type of command for reminders at your chosen minute interval.
The following will be output in your Terminal at each interval:
```bash
-----------------------
9:44:39 PM 💦 Hydrate!
-----------------------
```
## Usage
First, install the package:
```bash
npm install hydrate-me
```
The default `--interval` is 15 minutes, which you may set to another number to represent a different minute interval.
Then, append it to your watch commands, example with a custom interval;
```bash
"start": "your-script --watch & hydrate-me --interval 30"
```
Or if on Windows or another environment that doesn't support `&`, also install a utility to help the script run in parallel such as `npm-run-all`:
```bash
"start": "npm-run-all --parallel your-script hydrate",
"hydrate": "hydrate-me --interval 30"
```
Or install globally to use ad-hoc instead of fully committing.