帮助开发者从 NPM 包选型的角度感知和建立前端工程化体系。

测试

单元测试

tape

编译工具

构建工具

dotenv

Node.js CLI

框架

  • commander: Node.js命令行界面的完整解决方案,受Ruby Commander启发。 前端开发node cli 必备技能。
  • yargs: 功能比较全,但是使用起来比较复杂。

命令行参数解析

  • yargs-parser:yargs 命令行框架内置的命令行参数解析库,功能比较全,比较适合工程化实用。
  • minimist:如果你喜欢轻量级的技术,那么 minimist 足够简单好用,代码量也很少(只有几百行),非常适合研读。
  • inquire.js
  • chalk: 美化命令行的模块
  • ora: 优雅的 spinner
  • ncp: 异步的拷贝文件,包含空文件夹
  • recursive-readdir: 递归地列出目录和子目录下的所有文件,不包含目录本身。
  • shelljs: 在 Node.js 中执行 Unix shell 命令
  • log-symbols: 打印日志的特殊标志
  • download-git-repo: Download and extract a git repository (GitHub, GitLab, Bitbucket) from node
  • global-prefix: 获取 npm 全局安装的前缀
  • exec-sh: 执行 shell 命令转发所有 stdio 流,比 shelljs exec 命令好用
  • wml: wml 侦听某个文件夹中的更改(使用 watchman),然后将更改的文件复制到另一个文件夹中。
  • cmd-open: 扩展 Windows 命令 open
  • shx: shx is a wrapper around ShellJS Unix commands, providing an easy solution for simple Unix-like, cross-platform commands in npm package scripts.

CSS

css modules

css-in-js

React

状态管理