An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

# DeepWork

![demo](./docs/demo-deepwork.gif)

## 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**