@dap-js/client
TypeScript icon, indicating that this package has built-in type declarations

1.0.4 • Public • Published

@dap-js/client

NodeJS client implementation for DAP application protocol

Usage

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?"

Readme

Keywords

Package Sidebar

Install

npm i @dap-js/client

Weekly Downloads

0

Version

1.0.4

License

MIT

Unpacked Size

8.79 kB

Total Files

15

Last publish

Collaborators

  • dkonasov