Licence
MIT
Version
1.0.4
Deps
1
Size
9 kB
Vulns
0
Weekly
0
@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?"