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

newanyproxy

v4.1.2

Published

A fully configurable HTTP/HTTPS proxy in Node.js

Readme

AnyProxy

NPM version node version npm download

AnyProxy is A fully configurable HTTP/HTTPS proxy in NodeJS.

Home page : AnyProxy.io

Issue: https://github.com/alibaba/anyproxy/issues

AnyProxy是一个基于NodeJS的,可供插件配置的HTTP/HTTPS代理服务器。

主页:AnyProxy.io,访问可能需要稳定的国际网络环境


Legacy doc of version 3.x : https://github.com/alibaba/anyproxy/wiki/3.x-docs

TLS 指纹(JA3/JA4)配置说明

本分支新增了对“按请求设置上游 TLS 指纹”的支持。可通过请求头或规则两种方式使用:

  • 通过请求头(单次请求生效)

    • JA3 字符串:
      • 头名:X-Anyproxy-JA3
      • 示例值:771,4865-4866-4867,0-11-10,29-23-24,0
    • 简化 JA4 对象(JSON 字符串):
      • 头名:X-Anyproxy-JA4
      • 示例值:{"tlsVersion":"TLSv1.2","ciphers":["ECDHE-RSA-AES128-GCM-SHA256"],"curves":["X25519","P-256"],"sigalgs":["rsa_pss_rsae_sha256"]}
    • curl 示例:
      • curl -x http://127.0.0.1:8001 -H 'X-Anyproxy-JA3: 771,4865-4866-4867,0-11-10,29-23-24,0' https://example.com/
      • curl -x http://127.0.0.1:8001 -H 'X-Anyproxy-JA4: {"tlsVersion":"TLSv1.2","ciphers":["ECDHE-RSA-AES128-GCM-SHA256"],"curves":["X25519","P-256"],"sigalgs":["rsa_pss_rsae_sha256"]}' https://example.com/
  • 通过规则(可按域名/路径灵活控制)

    • rule_sample/sample_set_tls_fingerprint.js 中有完整示例:
      • 返回 JA3 字符串或简化 JA4 对象到 beforeSendRequest 的返回值中,字段名为 tlsFingerprint

说明:

  • 该能力仅影响代理与上游服务器的 TLS 握手,不改变客户端原始指纹。
  • Node.js/openssl 对 ClientHello 的可控性有限,无法 100% 复刻任意 JA3/JA4;主要可控协议版本、cipher、曲线、签名算法。
  • 自定义头 X-Anyproxy-JA3/X-Anyproxy-JA4 会在转发给上游前自动移除。