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

@lumiflora/fsdk

v0.1.6

Published

Vue 3 前端项目脚手架 CLI 工具,快速创建包含最佳技术栈的项目骨架。

Downloads

681

Readme

Vue 3 前端项目脚手架 CLI 工具,快速创建包含最佳技术栈的项目骨架。

安装

# 方式一:本地开发模式
cd /path/to/fsdk
pnpm install
pnpm dev

# 方式二:全局安装(发布后)
pnpm build
npm install -g @lumiflora/fsdk

使用命令

# 创建新项目
fsdk create my-project              # 交互式创建
fsdk create my-project --template full --package-manager pnpm

# 添加页面
fsdk add-page --page-name user --router-path /user

# 添加组件
fsdk add-component --name Header --type common

# 添加 Store
fsdk add-store --name user

# 校验配置和模板
fsdk validate

# 预览模板
fsdk preview --port 3000

# 生成并安装补全脚本
fsdk completion bash    # 生成 bash 补全脚本
fsdk completion zsh     # 生成 zsh 补全脚本
fsdk completion fish    # 生成 fish 补全脚本

# 自动安装到 shell 配置文件(推荐)
fsdk completion bash --install
fsdk completion zsh --install

# 查看帮助
fsdk --help
fsdk create --help

Shell 补全

fsdk 支持 bash、zsh 和 fish 的命令行补全。安装后,输入 fsdk 后按 Tab 键可自动补全命令和选项。

Bash(Linux / macOS)

# 方式一:自动安装(推荐)
fsdk completion bash --install
source ~/.bashrc

# 方式二:手动安装
fsdk completion bash
echo 'source ~/.fsdk-completion.bash' >> ~/.bashrc
source ~/.bashrc

Zsh(macOS 默认)

# 方式一:自动安装(推荐)
fsdk completion zsh --install
source ~/.zshrc

# 方式二:手动安装
fsdk completion zsh
# 添加以下内容到 ~/.zshrc:
# fpath=("$HOME/.zsh/completion" $fpath)
# autoload -U compinit && compinit
source ~/.zshrc

注意:如果使用 Oh My Zsh,可以将补全文件复制到 ~/.oh-my-zsh/completions/ 目录:

mkdir -p ~/.oh-my-zsh/completions
fsdk completion zsh --output ~/.oh-my-zsh/completions/_fsdk
exec zsh

Fish

fsdk completion fish
# 补全文件自动生成到 ~/.config/fish/completions/fsdk.fish
# 重启 fish 或打开新终端即可生效

模板

| 模板 | 说明 | |------|------| | full | Vue 3.5 + Vite 6 + Element Plus + Pinia + Vue Router + SCSS | | base | Vue 3.5 + Vite 6 基础版 |

技术栈

| 技术 | 版本 | 用途 | |------|------|------| | Vue | ^3.5.0 | 前端框架 | | Vue Router | ^4.4.0 | 路由(文件路由系统) | | Pinia | ^2.2.0 | 状态管理 | | Element Plus | ^2.8.0 | UI 组件库 | | Vite | ^6.0.0 | 构建工具 | | TypeScript | ~5.6.0 | 类型系统 | | ESLint | ^9.0.0 | 代码检查 |