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

fff-cli

v1.0.3

Published

fff-cli

Downloads

10

Readme

fff-cli

fff-cli 主要用于生成配置好的前端项目,是基于 vue\cli@4+ 构建项目的基础上再配置。

此外,还计划将一些可能会用到的命令整合到里面,例如,设置 npm 的仓库地址、检测环境软件的版本等。

欢迎到 GitHub 上给我一个小星星哦~

如果有什么好的建议,或者 Bug ,欢迎给我 Issues

安装

npm install fff-cli -g

使用

fff-cli <command> [options]

例子:

fff-cli create my_demo

更多命令请使用 -h 参数:

fff-cli -h

创建项目

fff-cli create my_demo

使用 -l 参数可以指定布局方式,默认是以"左菜单+头部+内容"的布局:

default:
   ╭─────────────────────────────────────╮
   │               header                │
   ├───────┬─────────────────────────────┤
   │       │                             │
   │       │                             │
   │ aside │           view              │
   │       │                             │
   │       │                             │
   ╰───────┴─────────────────────────────╯

更多可用布局,可使用 layout 命令查看:

fff-cli layout

如果构建移动端项目,请使用 --layout mobile

mobile:
   ╭───────────────────╮
   │      header       │
   ├───────────────────┤
   │                   │
   │                   │
   │                   │
   │       view        │
   │                   │
   │                   │
   │                   │
   ╰───────────────────╯

移动端项目,除了布局不一样,添加的依赖与 PC 端的也有所不同。

npm 工具

fff-cli npm-tools [options]

例如,查看和修改 npm 仓库。

获取当前全局设置的 npm 仓库地址:

fff-cli npm-tools --get-registry

或者快速设置为淘宝镜像源:

fff-cli npm-tools --set-registry taobao

其他软件版本读取

fff-cli versions

运行后可获取部分(我指定的)软件的版本号。

fff-cli: 1.0.0
Node.js: v10.20.1  
npm: 6.14.8 
cnpm: [email protected]
yarn: 1.22.4 
git: 2.20.1.windows.1 
python: 2.7.6  
java: java version "1.8.0_212"  Java(TM) SE Runtime Environment (build 1.8.0_212-b10)  Java HotSpot(TM) 64-Bit Server VM (build 25.212-b10, mixed mode)  
JAVA_HOME: JAVA_HOME=C:\Program Files\Java\jdk1.8.0_212  
ANDROID_HOME: ANDROID_HOME=C:\Users\asus\AppData\Local\Android\Sdk