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

@feng3d/frps

v0.68.4

Published

frp 服务端部署工具 - 支持 Linux/Windows/macOS

Downloads

1,066

Readme

@feng3d/frps

frp 服务端快速部署工具,支持 Linux/Windows/macOS。

安装

# 全局安装
npm install -g @feng3d/frps

# 或使用 npx 无需安装
npx @feng3d/frps

工作原理

首次运行时自动从 GitHub Releases 下载对应平台的 frp 二进制文件,并缓存到系统临时目录,后续使用无需重复下载。

使用

快速启动

# 使用默认端口 7000 启动
frps

# 指定端口启动
frps -p 8080

命令选项

| 选项 | 别名 | 默认值 | 说明 | |------|------|--------|------| | --port | -p | 7000 | 绑定端口 | | --no-service | | false | 不注册为系统服务 | | --token | -t | | 认证令牌 |

子命令

# 启动服务
frps start

# 停止服务
frps stop

# 重启服务
frps restart

# 查看状态
frps status

功能特性

  • 自动下载对应平台的 frp 二进制文件
  • Linux 下自动配置 systemd 服务
  • Linux 下自动配置防火墙 (firewalld/ufw)
  • 支持 token 认证
  • 支持自定义配置文件

平台支持

  • Linux x64/arm64
  • Windows x64
  • macOS x64/arm64

示例

# 启动带 token 认证的服务端
npx @feng3d/frps -p 7000 -t my-secret-token

# 临时测试不注册服务
npx @feng3d/frps -p 7000 --no-service

配置文件

默认配置文件位置:

  • Linux/macOS: ~/.frp/frps.toml
  • Windows: %USERPROFILE%\frp\frps.toml

许可证

MIT