# hyper-run

> Run commands before Hyper starts

Latest version **1.0.2** (published 2017-01-06) · 0 weekly downloads

## Install

```sh
npm install hyper-run
pnpm add hyper-run
yarn add hyper-run
bun add hyper-run
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2017-01-06 |
| First published | 2017-01-05 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 6 |
| Author | Dan dandaninglis@gmail.com |
| Maintainers | daninglis |
| Keywords | hyper, hyper.app, hyperterm, hyper-plugin, hyperterm-plugin, plugin, run, startup |

## Links

- npm: https://www.npmjs.com/package/hyper-run
- Repository: https://github.com/daninglis/hyper-run
- Homepage: https://github.com/daninglis/hyper-run#readme
- Issues: https://github.com/daninglis/hyper-run/issues
- npm.io page: https://npm.io/package/hyper-run

## Recent versions

- 1.0.2 (latest) — 2017-01-06
- 1.0.1 — 2017-01-05
- 1.0.0 — 2017-01-05

## README

# hyper-run
Extension for hyper.app terminal. Runs a command before hyperterm starts. Intended to be used with hyperlayout

## Install
Open `~/.hyperterm.js` and add `hyper-run` to the list of plugins.

## setup

In your `.hyper.js`...
```
module.exports = {
    config: {
        ...
        hyperRun: ['echo first command', 'echo second command'],
        hyperRunTab: ['echo first command', 'echo second command'],
    },
    ...
};

```

hyperRun commands will run on startup and when a new window is opened

hyperRunTab commands will run when a new tab is created or a window is split

Only 1 is required


## Acknowledgements

Special thanks to curz46 for your help (https://github.com/curz46)

Hypercwd was used for reference for middleware (https://github.com/hharnisc/hypercwd)

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