# @dap-js/client

> Client implementation for DAP protocol

Latest version **1.0.4** (published 2022-06-02) · MIT license · 0 weekly downloads

## Install

```sh
npm install @dap-js/client
pnpm add @dap-js/client
yarn add @dap-js/client
bun add @dap-js/client
```

## Health

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

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.4 |
| Published | 2022-06-02 |
| First published | 2022-05-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 8.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Konasov Dmitriy |
| Maintainers | dkonasov |
| Keywords | network, protocol, client |

## Links

- npm: https://www.npmjs.com/package/@dap-js/client
- Repository: https://github.com/dkonasov/dap-js
- Homepage: https://github.com/dkonasov/dap-js#readme
- Issues: https://github.com/dkonasov/dap-js/issues
- npm.io page: https://npm.io/package/@dap-js/client

## Dependencies (1)

- [@dap-js/server](https://npm.io/package/@dap-js/server.md) ^1.0.9

## Alternatives

- [launchdarkly-js-client-sdk](https://npm.io/package/launchdarkly-js-client-sdk.md) — 2.5M weekly downloads
- [@elastic/elasticsearch](https://npm.io/package/@elastic/elasticsearch.md) — 2.1M weekly downloads
- [@c8y/client](https://npm.io/package/@c8y/client.md) — 15.3K weekly downloads
- [@signaldb/maverickjs](https://npm.io/package/@signaldb/maverickjs.md) — 1.7K weekly downloads
- [@bbc/http-transport-cache](https://npm.io/package/@bbc/http-transport-cache.md) — 1.2K weekly downloads

## Recent versions

- 1.0.4 (latest) — 2022-06-02
- 1.0.3 — 2022-05-17
- 1.0.2 — 2022-05-15
- 1.0.1 — 2022-05-14

## README

# `@dap-js/client`

NodeJS client implementation for [DAP application protocol](https://github.com/dkonasov/dap)

## Usage

```ts
import { sendData } from "@dap-js/server";

const result = await sendData("dap://localhost:1312", {procedureId: 42, payload: String.from("Hello, there!")});

console.log(result.resultCode); // 0
console.log(payload.toString()); // "General Kenobi?"
```

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