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

generator-fangfe

v0.3.1

Published

Let's Create Project so easy!

Readme

fangfe(前端脚手架)

fangfe主要目的是快速开启新项目,并加强前端项目的规范性,统一性。一个入口可以选择不同的开发框架;但是项目目录统一,规范统一,功能统一。项目依赖于Yeoman+Webpack+Bable+Express,能够很好的推进技术升级,避免了手动Copy、繁琐的配置环境. 另外,fangfe还有很好的可配置性,既规范了项目又不缺失灵活性.

image

作用

  • 节约项目搭建时间
  • 前端规范统一
  • 根据需求自由组合技术栈
  • 避免开发人员素质的参差不齐带来的负面影响
  • 集成团队最新实践方案(便于推广与落地)
  • 避免因个人喜好产生个人风格

安装

npm install -g yo
npm install -g generator-fangfe

创建Project:

yo fangfe

创建Page:

yo fangfe:page

创建Component:

yo fangfe:component

创建Util:

yo fangfe:util

支持项目类型

  • [✔] React
  • [✔] Vue
  • [✔] PC
  • [✔] H5

功能特性

  • [✔] 可选择Less Lass Css
  • [✔] Dll库开关
  • [✔] 提取公共模块开关
  • [✔] 生成环境文件标记Banner(projectName,author,emaill)
  • [✔] 默认开启 CSS moduel
  • [✔] 热替换(Hot Replace)
  • [✔] 样式前缀(AutoPrefixer)
  • [✔] 支持浏览器版本可配置(Browsers Config)
  • [✔] Mock接口
  • [ ] TypeScript(TODO)
  • [ ] 测试用例(TODO)