Module systems and package managers are covered in Chapter 31. But there are additional important categories of tools:
Lint tools analyze source code and report potential problems and style violations. Three popular ones are:
Ideally, a unit test framework runs on both of the two large JavaScript platforms—the browser and Node.js. Two important frameworks that do are:
JavaScript source code usually wastes space—variable names are longer than need be, there are comments, extra whitespace, and so on. A minification tool removes the waste and compiles code to smaller code. Some parts of the removal process are relatively complex (e.g., the renaming of variables to short names). Three popular minification tools are: