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

@fe2345/fas

v1.0.7

Published

前端项目自动化解决方案

Readme

FAS 前端自动化解决方案

项目: fas

描述: 通过命令实现前端项目的自动化操作

地址: [email protected]:xinwc/fas.git

功能:

  1. 设置全局配置
  2. 显示全局配置
  3. 初始化开发环境
  4. 创建项目
  5. 设置npm镜像
  6. 安装全局依赖
  7. 查询全局依赖
 1. 生成文件 .gitignore;
 2. 生成文件 .npmignore 可选;
 3. 生成文件 .eslintignore;
 4. 生成文件 .eslintrc.json;
 5. 生成文件 .stylelintrc 可选;
 6. 生成文件 package.json;
 7. 生成文件 postcss.config.js 可选;
 8. 生成文件 webpack.config.js 可选;
 9. 生成文件 .babelrc;
10. 生成文件 gulpfile.js 可选;
11. 生成文件 .index.ejs 可选;
12. 生成目录 build
13. 生成目录 src (apis, components, asstes, lib, pages, style)
14. 自动配置 Git, 例如: user.name, user.email, 别名等
15. 自动配置 build 编译环境配置文件

使用:

// 安装
npm install @fe2345/fas -g

// 创建并克隆项目到本地, 然后命令行进入项目根目录
git clone [email protected]:group-name/my-project.git

// 执行以下命令:

// 初始化 vue 项目
fas init vue

// 初始化 包 项目
fas init package
fas init p

// 初始化 原生 项目
fas init native
fas init n

如果是首次执行 fas init

1. 提示输入用户名, 为公司统一账户名;
2. 提示输入邮箱, 公司邮箱地址;
3. 执行初始化