@hke/remote
v0.1.5
Published
REST API remote control
Downloads
43
Readme
node-remote
node-remote
is a small simple script to remote control whoever is running this script.
Install
$ npm i -g @hke/remote
Run
$ remote -d
$
or
$ 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"
}