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 🙏

© 2025 – Pkg Stats / Ryan Hefner

he-cli-fe

v0.0.3

Published

frontend cli tool for development

Readme

前端脚手架工具

已发布版本 :fire:

  • 0.0.2
  • 由于npm已有名为he-cli的包,发布包名为he-cli-fe

指令 :dancer:

  • he create <项目名称> 创建新项目,开始选择架构模板

  • he tool [-d 存放目录] 选择并创建js工具到项目,-d可在utils下指定存放目录,默认是utils/tools

  • he vuecpn [组件名称] [-d 存放目录]

    • 带组件名新增vue组件。默认存放在components下,-d可在components下多指定一级存放目录

    • 不带参数公共组件的选择生成。默认存放在components/pub

  • he vuepage <页面名称> [-r] 规定在views/<页面名称>目录下生成vue页面组件, 加-r同时生成对应路由文件router.js

  • he config进行偏好设置,包括展示欢迎文本,公共组件生成的目录等

所有生成文件的目标路径默认从同级的src目录开始,没有src则从当前位置开始

开发 :maple_leaf:

  • npm run build 编译src下的ts文件编译到bin目录
  • npm start 实时检测src下的ts文件改动,并编译到bin目录
  • npm run lint eslintg+prettier校验代码格式
  • 开发环境测试: 编译后在项目根目录npm link添加成为全局指令, npm unlink卸载全局

注意事项 :see_no_evil:

  • 编译后生成bin目录再发布到npm
  • 需要npm安装依赖的git项目模板尽量有package-lock.json,可避免安装时出现意外
  • 注意git上的模板项目是否需要权限