npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@channeljs/shadowsocks-ws

v0.1.57

Published

Readme

create a dedicated branch for publishing!!

installation

npm i @channeljs/shadowsocks-ws

shadow client

node src/ws/local.js -s wss://aes-128-cfb:[email protected]/ --socks5 1080 --http-connect 127.0.0.1:8080 -k aogog2727clsg -m aes-128-cfb -L 0.0.0.0:5200:127.0.0.1:5201 -L 0.0.0.0:5202:127.0.0.1:5201

testing

curl -x socks5h://127.0.0.1:1080 https://one.one.one.one/cdn-cgi/trace curl -x http://127.0.0.1:8080 https://one.one.one.one/cdn-cgi/trace iperf3 -d -f M -c 127.0.0.1 -p 5200

performance testing

iperf3

on server

iperf3 -s -f M

on client

iperf3 -d -f M -c 127.0.0.1 -p 5200

There're 2 types of password, one is for the shadow encryption and the other one is sent along in the url as basic header

ENABLE_SHADOW_AUTH=no node src/ws/server.js node local.js -L 0.0.0.0:5200:127.0.0.1:5201 -L 0.0.0.0:5202:127.0.0.1:5201

webpack is only for bunlding, files can be run without it!!

apache bench testing max concurrent connection?? other tools to test tcp concurrent connections?? use tcpkali

tcpkali -T30s --connections 10 -em "GET / HTTP/1.1\r\nHost: localhost:3000\r\n\r\n"
--latency-marker "HTTP/1.1" localhost:3000

cli usage option 1

the double hyphens are essential for it to work. without it, the argumetns will be passed as the args to npm rather than to the ssw

npm i @channeljs/shadowsocks-ws
npm exec -- ssw -s wss://aes-128-cfb:[email protected]/ --socks5 1080 --http-connect 127.0.0.1:8080   -k aogog2727clsg -m aes-128-cfb -L 0.0.0.0:5200:127.0.0.1:5201 -L 0.0.0.0:5202:127.0.0.1:5201

cli usage option 2

2a. add in package.json:

  "scripts": {
    "client": "ssw  -s wss://aes-128-cfb:[email protected]/ --socks5 1080 --http-connect 127.0.0.1:8080   -k aogog2727clsg -m aes-128-cfb -L 0.0.0.0:5200:127.0.0.1:5201 -L 0.0.0.0:5202:127.0.0.1:5201"
  }

2b. execute
npm run client