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

@bundlekit/cli

v0.0.22

Published

a cli tool serve for generate frontend project

Readme

@bundlekit/cli

前端项目脚手架 CLI,基于 ink 渲染的交互式命令行工具,支持快速创建 BundleKit 项目。

安装

npm install -g @bundlekit/cli
# 或
pnpm add -g @bundlekit/cli

使用

创建新项目

bc create my-app

CLI 会引导你完成以下步骤:

  1. 选择模板:react-ts / react-js / vue3-ts / vue3-js
  2. 选择默认 bundler:vite / webpack / rspack / rollup / rolldown
  3. 输入项目描述(可选)
  4. 选择包管理器:pnpm(推荐)/ yarn / npm

添加插件或 bundler

bc add react        # 添加 React 插件
bc add bundler-vite # 添加 Vite bundler 适配器

命令行选项

bc create my-app -t react-ts -b vite --pm pnpm
bc add mock --registry https://registry.npmmirror.com

| 选项 | 说明 | |------|------| | -t, --template | 模板类型 | | -b, --bundler | 打包器 | | -p, --pm | 包管理器 | | -d, --description | 项目描述 | | --ssr | 生成 SSR 骨架文件 | | --registry | npm registry 地址 |

项目结构

脚手架创建后的项目结构:

my-app/
├── .bundlekitrc.ts      # 构建配置文件
├── tsconfig.json        # TypeScript 配置
├── package.json         # 项目依赖
├── src/
│   ├── index.tsx        # 应用入口(CSR)
│   ├── App.tsx          # 根组件
│   └── api/
│       └── index.ts     # HTTP 请求层
├── public/
│   └── index.html       # HTML 模板
└── mock/
    └── db.json          # Mock 数据

环境变量

| 变量 | 说明 | |------|------| | DEVKIT_NO_INK | 禁用 ink TTY 渲染,回退到 enquirer | | DEVKIT_SKIP_INSTALL | 跳过依赖安装 | | DEVKIT_NO_PROMPT | 禁用交互式提示 |

文档

完整文档请访问 https://bundlekit.harhao.workers.dev

License

ISC