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

bffcc

v0.0.5

Published

Ubuntu Devbox 一键环境配置工具

Downloads

480

Readme

bffcc

Ubuntu Devbox 一键环境配置 CLI 工具。

安装

npx bffcc

或全局安装:

npm install -g bffcc
bff

功能

  • 安装 Claude Code — 全局安装 + 自动配置 API 环境变量
  • 安装 Node.js — 通过 nvm 安装 LTS 版本 + 自动配置环境变量
  • 安装常用工具 — git, curl, wget, vim, htop, tree, unzip, jq, tmux, build-essential
  • 系统信息 — 查看 Devbox 系统环境信息(开发中)

截图

┌────────────────────────────────────────────────────────┐
│                                                        │
│ ██████╗ ███████╗███████╗                               │
│ ██╔══██╗██╔════╝██╔════╝                               │
│ ██████╔╝█████╗  █████╗   for Ubuntu Devbox             │
│ ██╔══██╗██╔══╝  ██╔══╝                                 │
│ ██████╔╝██║     ██║                                    │
│ ╚═════╝ ╚═╝     ╚═╝                                   │
│                                                        │
│ Best Friend Forever                                    │
│                                                        │
└────────────────────────────────────────────────────────┘

环境要求

  • Node.js >= 14
  • Ubuntu Devbox 环境

项目结构

bff-cli/
├── package.json        # 包配置
├── bin/
│   └── bff.js          # CLI 入口
├── lib/
│   ├── ui.js           # Banner + 交互菜单
│   ├── claude.js       # Claude Code 安装模块
│   ├── node.js         # Node.js 安装模块
│   └── tools.js        # 常用工具安装模块
└── README.md

版本规则

| 变更类型 | 版本号 | 示例 | |---------|--------|------| | 修复 bug、微调 UI | patch +0.0.1 | 0.0.1 → 0.0.2 | | 新增功能模块 | minor +0.1 | 0.0.2 → 0.1.0 | | 架构重构、不兼容变更 | major +1.0 | 0.1.0 → 1.0.0 |

更新日志

0.0.3

  • 新增「安装 Node.js」— 通过 nvm 安装 LTS 版本 + 环境变量配置
  • 新增「安装常用工具」— 自动检测已安装,逐个安装缺失工具 (git, curl, wget, vim, htop, tree, unzip, jq, tmux, build-essential)

0.0.2

  • 安装过程使用心跳脉冲动画(♥ lub-dub 节奏)替代默认 spinner
  • 修复 Banner 版本号显示

0.0.1

  • 初始版本
  • CLI 框架:ASCII Banner + 交互式菜单
  • 安装 Claude Code:全局安装 + API 环境变量自动配置

发布流程

# 1. 更新 package.json 和 lib/ui.js 中的 version
# 2. 更新 README.md 更新日志
# 3. 提交并推送
git add -A && git commit -m "release: vX.Y.Z" && git push
# 4. 发布到 npm
npm publish

开发

git clone https://github.com/deijing/bff-cli.git
cd bff-cli
npm install
node bin/bff.js

License

MIT