https://github.com/muhajirdev/deepwork
A CLI to turn off mac off notification for x amount of time. To help you doing deepwork
https://github.com/muhajirdev/deepwork
distraction-free focus nodejs productivity typescript
Last synced: 7 months ago
JSON representation
A CLI to turn off mac off notification for x amount of time. To help you doing deepwork
- Host: GitHub
- URL: https://github.com/muhajirdev/deepwork
- Owner: muhajirdev
- Created: 2018-10-22T08:36:28.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T20:16:24.000Z (almost 2 years ago)
- Last Synced: 2025-03-08T12:51:13.343Z (7 months ago)
- Topics: distraction-free, focus, nodejs, productivity, typescript
- Language: TypeScript
- Size: 7.29 MB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DeepWork

## Requirement
- NodeJS
## Installation
```bash
npm install -g deepwork
```## Usage
```bash
deepwork [duration] [unit]
```For example :
```bash
deepwork 1 hour
```After that, you can safely close the terminal. The script will still run in the background
## Supported Time Units
DeepWork using [momentJS](https://momentjs.com/) for duration conversion. So DeepWork we support all duration unit that's supported by momentjs. Which means all of these units works
```
"year" | "years" | "y" |
"month" | "months" | "M" |
"week" | "weeks" | "w" |
"week" | "weeks" | "w" |
"day" | "days" | "d" |
"hour" | "hours" | "h" |
"minute" | "minutes" | "m" |
"second" | "seconds" | "s" |
"millisecond" | "milliseconds" | "ms"
````
## More info & Contributing
If you have any question, ping me on twitter [@muhajirframe](https://twitter.com/muhajirframe)
or [summit an issue](https://github.com/muhajirframe/deepwork/issues/new)**Enjoy**