JavaScript
最后更新于:2022-04-01 10:31:54
## JavaScript 工具
**JS 库:**
* [lodash](https://lodash.com/)
* [underscore.js](http://underscorejs.org/)
* [Moment.js](http://momentjs.com/)
* [string.js](http://stringjs.com/)
* [Numeral.js](http://numeraljs.com/)
* [accounting.js](http://openexchangerates.github.io/accounting.js/)
* [xregexp.com](http://xregexp.com/)
* [Math.js](http://mathjs.org/)
* [wait](https://github.com/elving/wait)
* [async](https://github.com/caolan/async)
* [format.js](http://formatjs.io/)
**Transpiling (ESX to ESX):**
* [Babel](https://babeljs.io/)
**JavaScript 兼容性检查:**
* [http://jscc.info/](http://jscc.info/)
**Linting/hinting:**
* [jshint](http://jshint.com/)
* [eshint](http://eslint.org/)
* [JSLint](http://www.jslint.com/)
* [jslinterrors.com](http://jslinterrors.com/)
**单元测试:**
* [Mocha](http://mochajs.org/)
* [QUnit](http://qunitjs.com/)
* [Jasmine](http://jasmine.github.io/)
* [Jest](http://facebook.github.io/jest/)
**单元测试的断言库:**
* [should.js](http://shouldjs.github.io/)
* [Chai](http://chaijs.com/)
* [expect.js](https://github.com/Automattic/expect.js)
**Test spies, stubs, and mocks for unit testing:**
* [sinon.js](http://sinonjs.org/)
**编码规范检查:**
* [JSCS](http://jscs.info/)
**代码格式化/美化:**
* [jsfmt](http://rdio.github.io/jsfmt/)
* [esformatter](https://github.com/millermedeiros/esformatter#esformatterformatstr-optsstring)
* [js-beautify](http://jsbeautifier.org/)
**性能测试:**
* [jsperf](http://jsperf.com/)
* [benchmark.js](http://benchmarkjs.com/)
**可视化, 静态分析, 复杂性, 覆盖工具:**
* [jscomplexity.org](http://jscomplexity.org/)
* [istanbul](https://github.com/gotwarlost/istanbul)
* [Blanket.js](http://blanketjs.org/)
* [Coveralls](https://coveralls.io/) [$]
* [Plato](https://github.com/es-analysis/plato)
* [escomplex](https://github.com/jared-stilwell/escomplex)
* [Esprima](http://esprima.org/)
**优化:**
* [UglifyJS 2](https://github.com/mishoo/UglifyJS2)
**混淆:**
* [Javascript Obfuscator](http://www.javascriptobfuscator.com/) [free to $]
* [JScrambler](https://jscrambler.com/) [$]
**在线 JS 编辑器:**
* [jsbin.com](http://jsbin.com/) [free to $]
* [jsfiddle.net](http://jsfiddle.net/)
* [es6fiddle.net](http://www.es6fiddle.net/)
**在线正则表达式编辑器/可视化工具:**
* [regex101](https://regex101.com/)
* [regexper](http://regexper.com/)
* [debuggex](https://www.debuggex.com/)
* [RegExr](http://regexr.com/)
**编码规范:**
* [Node.js Style Guide](https://github.com/felixge/node-style-guide)
* [Principles of Writing Consistent, Idiomatic JavaScript](https://github.com/rwaldron/idiomatic.js)
* [Airbnb JavaScript Style Guide](http://airbnb.io/javascript/)
**本月 JS 仓库在 Github 的趋势:**
[https://github.com/trending?l=javascript&since=monthly](https://github.com/trending?l=javascript&since=monthly)
**NPM 上被依赖最多的包:**
[https://www.npmjs.com/browse/depended](https://www.npmjs.com/browse/depended)