What's the difference between CommonJS,AMD,CMD?

What"s the difference between

CommonJS,AMD,CMD? What are the applications at the front end? Please give us an in-depth explanation of [gratitude]

.

this kind of question should not be asked here, go to find the article blog these, this site a search, https://codeshelper.com/a/11., the recent questions are so lame, no one supervision?!



CommonJS, AMD, CMD is the specification of JS modularization.
CommonJS is a modular specification for server-s
ide js, and NodeJS is an implementation of this specification.
AMD (Asynchronous Module definition) and CMD (Universal Module definition) are both browser-side js modularization specifications. RequireJS follows AMD,SeaJS follows CMD.

Menu