# signalk-repl

> Plugin that provides a REPL for Signalk server

Latest version **1.0.0** (published 2019-07-12) · ISC license · 0 weekly downloads

## Install

```sh
npm install signalk-repl
pnpm add signalk-repl
yarn add signalk-repl
bun add signalk-repl
```

## 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.0 |
| Published | 2019-07-12 |
| First published | 2019-07-12 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Wouter de Bie |
| Maintainers | wouterdebie |
| Keywords | signalk-node-server-plugin |

## Links

- npm: https://www.npmjs.com/package/signalk-repl
- Repository: https://github.com/wouterdebie/signalk-repl
- Homepage: https://github.com/wouterdebie/signalk-repl#readme
- Issues: https://github.com/wouterdebie/signalk-repl
- npm.io page: https://npm.io/package/signalk-repl

## Recent versions

- 1.0.0 (latest) — 2019-07-12

## README

# signalk-repl
[SignalK](http://signalk.org) Node Server Plugin that provides a REPL for a running server.

After activation you can connect to the server using `nc` or preferably [`repl-client`](https://github.com/dshaw/repl-client) and the default socket `/tmp/signalk-repl-sock`.

The plugin exposes the variable `app`, which provides the same functionality plugins have access to:

```
$ rc /tmp/signalk-repl-sock
Signal K > app
{
  _events: [Object: null prototype] {
    mount: [Function: onmount],
    serverevent: [ [Function], [Function], [Function] ],
    nmea0183out: [Function: send],
    discovered: [Function]
  },
  _eventsCount: 3,
  _maxListeners: undefined,
  setMaxListeners: [Function: setMaxListeners],
  getMaxListeners: [Function: getMaxListeners],
  emit: [Function: emit],
  addListener: [Function: addListener],
  on: [Function: addListener],
  prependListener: [Function: prependListener],
  once: [Function: once],
  prependOnceListener: [Function: prependOnceListener],
  removeListener: [Function: removeListener],
  off: [Function: removeListener],
  removeAllListeners: [Function: removeAllListeners],
  listeners: [Function: listeners],
  rawListeners: [Function: rawListeners],
  listenerCount: [Function: listenerCount],
  eventNames: [Function: eventNames],
  init: [Function: init],
  ...
}

Signal K >
```

When using [`repl-client`](https://github.com/dshaw/repl-client), regular `readline` functionality works like tab completion and history.

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