# sleeper-cli

> A lazy script to keep your computer on while you are away or bored.

Latest version **0.0.2** (published 2021-12-07) · ISC license · 0 weekly downloads

## Install

```sh
npm install sleeper-cli
pnpm add sleeper-cli
yarn add sleeper-cli
bun add sleeper-cli
```

Provides the command `sleeper`.

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.2 |
| Published | 2021-12-07 |
| First published | 2021-12-07 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 8 |
| Unpacked size | 7.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | O2Dependent |
| Maintainers | ethanol |

## Links

- npm: https://www.npmjs.com/package/sleeper-cli
- npm.io page: https://npm.io/package/sleeper-cli

## Dependencies (8)

- [open](https://npm.io/package/open.md) ^8.4.0
- [path](https://npm.io/package/path.md) ^0.12.7
- [chalk](https://npm.io/package/chalk.md) ^4.1.2
- [clear](https://npm.io/package/clear.md) ^0.1.0
- [figlet](https://npm.io/package/figlet.md) ^1.5.2
- [robotjs](https://npm.io/package/robotjs.md) ^0.6.0
- [date-fns](https://npm.io/package/date-fns.md) ^2.26.0
- [commander](https://npm.io/package/commander.md) ^8.3.0

## Recent versions

- 0.0.2 (latest) — 2021-12-07
- 0.0.1 — 2021-12-07

## README

# Sleeper Cli

A lazy script to keep your computer on while you are away or bored.

## Installation

```shell
npm i -g sleeper-cli
```

## Commands

### Leave

Using leave will make your mouse bounce around the screen for the time you passed in.

```shell
sleeper leave --minutes 10
sleeper l -m 10
```

### Open

Using open with a url as the second param will open that window after that amount of time. Made this so I won't stress out about opening zoom links on time.

```shell
sleeper open --minutes 10 http://localhost:3000
sleeper o -m 10 http://localhost:3000
```

---
_Source: https://npm.io/package/sleeper-cli · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
