Skip to content

MercuryWorkshop/bare-transport

 
 

Repository files navigation

Bare Client

This is a proxy-transports transport using the TompHTTP Bare Server.

Usage:

Here is a basic example of using bare-transport. The Bare server is specified in the first argument.

import BareClient from "@mercuryworkshop/bare-transport";
let client = new BareClient("https://example.com/bare/");

// pass to proxy

You can also use the non-esm build

<script src="https://unpkg.com/@mercuryworkshop/bare-transport@2/dist/index.js"></script>
<script>
  let client = new BareMod.BareClient("https://example.com/bare/");
</script>

About

Tomp Bare Client as a bare-mux module.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 87.2%
  • JavaScript 12.8%