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

@bifrost-proxy/bifrost

v0.0.47-beta

Published

High-performance HTTP/HTTPS/SOCKS5 proxy server written in Rust

Readme

Bifrost

帮助文档:https://bifrost-proxy.github.io/bifrost

Bifrost 是一个用 Rust 编写的高性能代理服务器,灵感来源于 Whistle。它提供请求拦截、规则修改、TLS 拦截、脚本扩展、流量查看、请求重放以及 Web UI 管理能力。

特性说明

network.png scripts.png rules.png replay.png metrics.png

  • 高性能代理内核:基于 Tokio + Hyper,支持高并发与连接复用
  • 多协议支持:HTTP/1.1、HTTP/2、HTTP/3、HTTPS、SOCKS5、WebSocket、SSE、gRPC
  • TLS 拦截能力:支持 CA 证书生成、按域名动态签发证书、按规则选择拦截或透传
  • 规则引擎:支持路由、请求/响应改写、注入、延迟、限速、Mock、脚本处理
  • 管理界面:内置 Web UI,支持规则编辑、流量查看、脚本管理、请求重放
  • 资源风险告警:Performance 页与 /_bifrost/api/system/memory 会显示 body/ws 文件 writer 占用及接近句柄上限的告警状态
  • 脚本沙箱:基于 QuickJS,支持 reqScriptresScriptdecode

快速开始

安装 CLI:

方法一:使用脚本安装

curl -fsSL https://raw.githubusercontent.com/bifrost-proxy/bifrost/main/install-binary.sh | bash

方法二:使用 npm 安装

npm i @bifrost-proxy/bifrost

更多安装方法:docs/getting-started.md

启动代理:

bifrost start -d

启动后访问管理端:

http://127.0.0.1:9900/_bifrost/

用不习惯 CLI?想要使用桌面端 APP?

请直接到releases中下载对应平台的桌面端程序

基本用法摘要

常见命令:

# 查看状态
bifrost status

# 停止服务
bifrost stop

# 查看流量
bifrost traffic list
bifrost traffic search "keyword" --method POST --host api.openai.com --path /v1/responses
bifrost search "keyword" --req-header
bifrost search "keyword" --res-body

# 添加规则
bifrost rule add local-dev --content "example.com host://127.0.0.1:3000"

搜索命令补充说明:

  • bifrost searchbifrost traffic search 等价
  • 基础过滤支持 --method--host--path--status--protocol
  • 搜索范围支持 --url--req-header--res-header--req-body--res-body
  • 兼容别名:--headers 会同时搜索请求头和响应头,--body 会同时搜索请求体和响应体

规则示例:

example.com host://127.0.0.1:3000
api.example.com reqHeaders://x-debug=1
chatgpt.com http3://

文档索引