@mercuryworkshop/libcurl-transport

1.4.0 • Public • Published

CurlTransport

A bare-module for implementing end to end encryption with libcurl.js

Usage

Here is an example of using CurlTransport:

import { BareMuxConnection } from "@mercuryworkshop/bare-mux";
const conn = new BareMuxConnection("/path/to/baremux/worker.js");
await conn.setTransport("/path/to/curltransport/index.mjs", [{ wisp: "wss://wisp.mercurywork.shop/" }]);

Readme

Keywords

none

Package Sidebar

Install

npm i @mercuryworkshop/libcurl-transport

Weekly Downloads

1,172

Version

1.4.0

License

none

Unpacked Size

5.72 MB

Total Files

8

Last publish

Collaborators

  • r58playz
  • percslol
  • programmerin-wonderland
  • ading2210
  • coolelectronics
  • avad3