open-index/open-npm huggingface dataset:
npm package: @hke/remote
Description: REST API remote control
Latest version: 0.1.5

# node-remote

`node-remote` is a small simple script to remote control whoever is running this script.

### Install

```bash
$ npm i -g @hke/remote
```

### Run

```bash
$ remote -d
$
```

or

```bash
$ remote
Listening on port 3333
```

### Available commands

`POST http://remote-host:3333/run {"cmd":"pwd"}`
```
{
    "code": 0,
    "pid": 23148,
    "error": null,
    "output": "/Users/heiko/Sites/node-remote\n"
}
```