3. Server-side JavaScript
Processor
Node.js (fork: io.js) and others
PackageManager
npm, bower
BuildTool
Grunt or Gulp
Module DependencyManagement
RequireJS, browserify, component,WebPack
ecosystem
on
4. JSHint
•detect errors and potential problems
•enforce your team's coding conventions
•very flexible
No check, No commit!
5. The History and Future
そして、次のバージョンであるECMAScript6には
言語の機能そのものにモジュールの仕組みが……!
当初のJavaScriptにはモジュールや名前空間にあたる仕組みがなかった
それを補うためにいくつかのツールやライブラリが考案された
代表的な仕様がCommonJSである
CommonJSとはサーバ、クライアント、その他環境での標準的な仕様を定めるもの
その中でモジュールの仕様も策定された