CommonJS是一套规范,包括 binaryencodingiofssystemtestsocketeventworkerconsoleAMD和CMD都是一种CommonJS具体实现,它们是为了适用于团队开发的模块化工程