# ilp-ping

> > Command-line tool to send ILP test packets to a node

Latest version **0.0.2** (published 2019-04-17) · ISC license · 0 weekly downloads

## Install

```sh
npm install ilp-ping
pnpm add ilp-ping
yarn add ilp-ping
bun add ilp-ping
```

Provides the command `ilp-ping`.

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.2 |
| Published | 2019-04-17 |
| First published | 2019-04-17 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 5 |
| Unpacked size | 6.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | martin.lowinski |

## Links

- npm: https://www.npmjs.com/package/ilp-ping
- npm.io page: https://npm.io/package/ilp-ping

## Dependencies (5)

- [yargs](https://npm.io/package/yargs.md) ^13.2.2
- [oer-utils](https://npm.io/package/oer-utils.md) ^4.0.0
- [ilp-packet](https://npm.io/package/ilp-packet.md) ^3.0.8
- [ilp-plugin](https://npm.io/package/ilp-plugin.md) ^3.2.1
- [ilp-protocol-ildcp](https://npm.io/package/ilp-protocol-ildcp.md) ^2.0.1

## Recent versions

- 0.0.2 (latest) — 2019-04-17
- 0.0.1 — 2019-04-17

## README

# ILP-PING

> Command-line tool to send ILP test packets to a node

## Quick-start

Make sure you're running a local ILP provider. If you don't have one, take a look at [moneyd](https://github.com/sharafian/moneyd) or read the getting started guide on [interledger.org](https://interledger.org).

```
ilp-ping [options] <destination>

Options:
  --version      Show version number                                   [boolean]
  --count, -c    stop after sending count number of packets         [default: 4]
  --expiration   expiration duration of prepare packets         [default: 30000]
  --amount       amount used in prepare packets                   [default: 100]
  --destination  destination to ping
  --help         Show help                                             [boolean]
```

Example: `./index.js test.strata`

```sh
ILP-PING test.strata
ILP_FULFILL from test.strata: time=818.426845ms
ILP_FULFILL from test.strata: time=448.628763ms
ILP_FULFILL from test.strata: time=389.540506ms
ILP_FULFILL from test.strata: time=258.038767ms

--- test.strata ping statistics ---
4 ILP_PREPARE packets sent, 4 ILP_FULFILL received, 0.0% packet loss
rtt min/avg/max/mdev = 258.039/478.659/818.427/207.942
```

## Disclaimer

This software is in a very early stage, expect breaking changes.

The core ping functionality is based on [moneyd-gui](https://github.com/interledgerjs/moneyd-gui).

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