前端开发者手册第三部分: 前端开发工具JavaScript
JavaScript
JavaScript 工具
JS 库:
- lodash
- underscore.js
- Moment.js
- string.js
- Numeral.js
- accounting.js
- xregexp.com
- Math.js
- wait
- async
- format.js
Transpiling (ESX to ESX):
- Babel
JavaScript 兼容性检查:
- http://jscc.info/
Linting/hinting:
- jshint
- eshint
- JSLint
- jslinterrors.com
单元测试:
- Mocha
- QUnit
- Jasmine
- Jest
单元测试的断言库:
- should.js
- Chai
- expect.js
Test spies, stubs, and mocks for unit testing:
- sinon.js
编码规范检查:
- JSCS
代码格式化/美化:
- jsfmt
- esformatter
- js-beautify
性能测试:
- jsperf
- benchmark.js
可视化, 静态分析, 复杂性, 覆盖工具:
- jscomplexity.org
- istanbul
- Blanket.js
- Coveralls [$]
- Plato
- escomplex
- Esprima
优化:
- UglifyJS 2
混淆:
- Javascript Obfuscator [free to $]
- JScrambler [$]
在线 JS 编辑器:
- jsbin.com [free to $]
- jsfiddle.net
- es6fiddle.net
在线正则表达式编辑器/可视化工具:
- regex101
- regexper
- debuggex
- RegExr
编码规范:
- Node.js Style Guide
- Principles of Writing Consistent, Idiomatic JavaScript
- Airbnb JavaScript Style Guide
本月 JS 仓库在 Github 的趋势:
https://github.com/trending?l=javascript&since=monthly
NPM 上被依赖最多的包:
https://www.npmjs.com/browse/depended