New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

hsync

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hsync

client for hsync-server

latest
Source
npmnpm
Version
0.33.0
Version published
Weekly downloads
85
123.68%
Maintainers
1
Weekly downloads
 
Created
Source

hsync

CI NPM

hsync is a reverse-proxy client for node.js and browsers that connects to an hsync-server.

You can share your local webserver as a secure public URL, as well as tunnel whatever tcp/ip traffic you'd like between two hsync clients.

installation

npm

npm i -g hsync

or add to a webpage

<script src="https://cdn.jsdelivr.net/npm/hsync/dist/hsync.min.js"></script>

this gives you a hsync global variable.

run

hsync

run with npx

npx hsync

run inside of a webpage

const hsyncCon = await hsync.dynamicConnect();

configuration

by default hsync will connect to the default hsync.tech server and allow a connection for up to 4 hours.

However you can pass flags to the command line or configure env variables:

flaglong flagtypeenv variabledescription
-p-portnumberPORTport for local webserver
-d--dynamic-hosturlHSYNC_DYNAMIC_HOSThost to get a dynamic connection from
-s--hsync-serverurlHSYNC_SERVERhsync-server location ex: https://sub.mydomain.com
-hs--hsync-secretstringHSYNC_SECRETpassword to connect to hsync-server
-llp--listener-local-portnumberHSYNC_LLPlocal port to open for listener
-lth--listener-target-hosturlHSYNC_LTHtarget host for listener
-ltp--listener-target-portnumberHSYNC_LTPtarget port for listener
-rip--relay-inbound-portnumberHSYNC_RIPinbound port for remote relay requests
-rth--relay-target-hosturlHSYNC_RTHtarget host for relay to open tcp connection on
-rtp--relay-target-portnumberHSYNC_RTPtarget port for relay to open tcp connection on

Keywords

iot

FAQs

Package last updated on 19 Jan 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts